Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 202a277

Browse files
authored
Merge pull request #29031 from timhoffm/doc-colorsequenceregistry
DOC: Fix copy-paste typo in ColorSequenceRegistry
2 parents d7ce220 + 586991e commit 202a277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/colors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class ColorSequenceRegistry(Mapping):
106106
Read access uses a dict-like interface mapping names to lists of colors::
107107
108108
import matplotlib as mpl
109-
cmap = mpl.color_sequences['tab10']
109+
colors = mpl.color_sequences['tab10']
110110
111111
The returned lists are copies, so that their modification does not change
112112
the global definition of the color sequence.

0 commit comments

Comments
 (0)