Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12598 from anntzer/cn
Support Cn colors with n>=10.
- Loading branch information
Showing
7 changed files
with
56 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
``Cn`` colors now support ``n>=10`` | ||
``````````````````````````````````` | ||
|
||
It is now possible to go beyond the tenth color in the property cycle using | ||
``Cn`` syntax, e.g. ``plt.plot([1, 2], color="C11")`` now uses the 12th color | ||
in the cycle. | ||
|
||
Note that previously, a construct such as ``plt.plot([1, 2], "C11")`` would be | ||
interpreted as a request to use color ``C1`` and marker ``1`` (an "inverted Y"). | ||
To obtain such a plot, one should now use ``plt.plot([1, 2], "1C1")`` (so that | ||
the first "1" gets correctly interpreted as a marker specification), or, more | ||
explicitly, ``plt.plot([1, 2], marker="1", color="C1")``. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters