Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 324e7f9

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

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎lib/matplotlib/tests/test_colors.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_colors.py
+2-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.