8000 DOC: document 'CN' pattern of naming colors · matplotlib/matplotlib@4be1c14 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4be1c14

Browse files
committed
DOC: document 'CN' pattern of naming colors
1 parent 0d4c84a commit 4be1c14

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/users/colors.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ it can be provided as:
1717
<http://blog.xkcd.com/2010/05/03/color-survey-results/>`__ These
1818
names are prefixed with ``'xkcd:'`` (e.g., ``'xkcd:sky blue'``) to
1919
prevent name clashes with the CSS4/X11 names.
20+
* One of ``{'C0', 'C1', 'C2', 'C3', 'C4', 'C5', 'C6', 'C7', 'C8', 'C9'}`` which will use the
21+
color from the Nth element in ``mpl.rcparams['axes.prop_cycle']``.
2022

2123
All string specifications of color are case-insensitive.
2224

0 commit comments

Comments
 (0)
0