Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit324e7f9

Browse files
TST: Add 6 and 8 color Petroff color sequences to tests
* Verify they appear in plt.color_sequences.
1 parent0d8449f commit324e7f9

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
assertplt.color_sequencesismatplotlib.color_sequences# same registry
17051705
assertlist(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
assertlen(plt.color_sequences['tab10'])==10
17091710
assertlen(plt.color_sequences['tab20'])==20
17101711

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp