Skip to content

Commit 324e7f9

Browse files
TST: Add 6 and 8 color Petroff color sequences to tests
* Verify they appear in plt.color_sequences.
1 parent 0d8449f commit 324e7f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/tests/test_colors.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1704,7 +1704,8 @@ def test_color_sequences():
17041704
assert plt.color_sequences is matplotlib.color_sequences # same registry
17051705
assert list(plt.color_sequences) == [
17061706
'tab10', 'tab20', 'tab20b', 'tab20c', 'Pastel1', 'Pastel2', 'Paired',
1707-
'Accent', 'Dark2', 'Set1', 'Set2', 'Set3', 'petroff10']
1707+
'Accent', 'Dark2', 'Set1', 'Set2', 'Set3', 'petroff6', 'petroff8',
1708+
'petroff10']
17081709
assert len(plt.color_sequences['tab10']) == 10
17091710
assert len(plt.color_sequences['tab20']) == 20
17101711

0 commit comments

Comments
 (0)