File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 24
24
============================================
25
25
26
26
First, getting a named colormap, most of which are listed in
27
- :doc:`/tutorials/colors/colormaps`, may be done using
28
- `.matplotlib.colormaps`, which returns a colormap object.
29
- The second argument gives the size of the list of colors used to define the
30
- colormap, and below we use a modest value of 8 so there are not a lot of
31
- values to look at.
27
+ :doc:`/tutorials/colors/colormaps`, may be done using `.matplotlib.colormaps`,
28
+ which returns a colormap object. The length of the list of colors used
29
+ internally to define the colormap and be adjusted via `.Colormap.resabpled`.
30
+ Blow we use a modest value of 8 so there are not a lot of values to look at.
31
+
32
32
"""
33
33
34
34
import numpy as np
You can’t perform that action at this time.
0 commit comments