Skip to content

Commit e830ea7

Browse files
committed
DOC: correct prose in colormap manipulation
1 parent ae90168 commit e830ea7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tutorials/colors/colormap-manipulation.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
============================================
2525
2626
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+
3232
"""
3333

3434
import numpy as np

0 commit comments

Comments
 (0)