File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Six and eight color Petroff color cycles
2+ ----------------------------------------
3+
4+ The six and eight color accessible Petroff color cycles are named 'petroff6' and
5+ 'petroff8'.
6+ They compliment the existing 'petroff10' color cycle, added in `Matplotlib 3.10.0 `_
7+
8+ For more details see
9+ `Petroff, M. A.: "Accessible Color Sequences for Data Visualization"
10+ <https://arxiv.org/abs/2107.02270> `_.
11+ To load the 'petroff6' color cycle in place of the default::
12+
13+ import matplotlib.pyplot as plt
14+ plt.style.use('petroff6')
15+
16+ or to load the 'petroff8' color cycle::
17+
18+ import matplotlib.pyplot as plt
19+ plt.style.use('petroff8')
20+
21+ .. _Matplotlib 3.10.0 : https://matplotlib.org/stable/users/prev_whats_new/whats_new_3.10.0.html#new-more-accessible-color-cycle
You can’t perform that action at this time.
0 commit comments