Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 202a277

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

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎lib/matplotlib/colors.py‎

Copy file name to clipboardExpand all lines: lib/matplotlib/colors.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.