Skip to content

Commit 31a1c1a

Browse files
sahilmathur254meeseeksmachine
authored andcommitted
Backport PR matplotlib#32049: DOC: clarify source of Cn colors
1 parent 05d2dd7 commit 31a1c1a

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

galleries/users_explain/colors/colors.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,14 @@
6161
+--------------------------------------+--------------------------------------+
6262
| "CN" color spec where ``'C'`` | - ``'C0'`` |
6363
| precedes a number acting as an index | - ``'C1'`` |
64-
| into the default property cycle. +--------------------------------------+
65-
| | :rc:`axes.prop_cycle` |
66-
| .. note:: Matplotlib indexes color | |
64+
| into the default property cycle. | |
65+
| | |
66+
| .. note:: The cycle comes from the | |
67+
| global | |
68+
| :rc:`axes.prop_cycle`, not | |
69+
| an Axes-local cycle set by | |
70+
| `~.Axes.set_prop_cycle`. | |
71+
| Matplotlib indexes color | |
6772
| at draw time and defaults | |
6873
| to black if cycle does not | |
6974
| include color. | |

0 commit comments

Comments
 (0)