Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae90168 commit e830ea7Copy full SHA for e830ea7
tutorials/colors/colormap-manipulation.py
@@ -24,11 +24,11 @@
24
============================================
25
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.
+:doc:`/tutorials/colors/colormaps`, may be done using `.matplotlib.colormaps`,
+which returns a colormap object. The length of the list of colors used
+internally to define the colormap and be adjusted via `.Colormap.resabpled`.
+Blow we use a modest value of 8 so there are not a lot of values to look at.
+
32
"""
33
34
import numpy as np
0 commit comments