Skip to content

Commit d6270b1

Browse files
QuLogicmeeseeksmachine
authored andcommitted
Backport PR #29031: DOC: Fix copy-paste typo in ColorSequenceRegistry
1 parent 4ccf275 commit d6270b1

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
@@ -105,7 +105,7 @@ class ColorSequenceRegistry(Mapping):
105105
Read access uses a dict-like interface mapping names to lists of colors::
106106
107107
import matplotlib as mpl
108-
cmap = mpl.color_sequences['tab10']
108+
colors = mpl.color_sequences['tab10']
109109
110110
The returned lists are copies, so that their modification does not change
111111
the global definition of the color sequence.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy