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

Commitff584d7

Browse files
tacaswellmpetroff
authored andcommitted
ENH: add petroff10 to the sequence registry
1 parent44a4aba commitff584d7

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

‎lib/matplotlib/_cm.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1366,6 +1366,20 @@ def _gist_yarg(x): return 1 - x
13661366
)
13671367

13681368

1369+
_petroff10_data= (
1370+
(0.24705882352941178,0.5647058823529412,0.8549019607843137),# 3f90da
1371+
(1.0,0.6627450980392157,0.054901960784313725),# ffa90e
1372+
(0.7411764705882353,0.12156862745098039,0.00392156862745098),# bd1f01
1373+
(0.5803921568627451,0.6431372549019608,0.6352941176470588),# 94a4a2
1374+
(0.5137254901960784,0.17647058823529413,0.7137254901960784),# 832db6
1375+
(0.6627450980392157,0.4196078431372549,0.34901960784313724),# a96b59
1376+
(0.9058823529411765,0.38823529411764707,0.0),# e76300
1377+
(0.7254901960784313,0.6745098039215687,0.4392156862745098),# b9ac70
1378+
(0.44313725490196076,0.4588235294117647,0.5058823529411764),# 717581
1379+
(0.5725490196078431,0.8549019607843137,0.8666666666666667),# 92dadd
1380+
)
1381+
1382+
13691383
datad= {
13701384
'Blues':_Blues_data,
13711385
'BrBG':_BrBG_data,

‎lib/matplotlib/colors.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ class ColorSequenceRegistry(Mapping):
129129
'Set1':_cm._Set1_data,
130130
'Set2':_cm._Set2_data,
131131
'Set3':_cm._Set3_data,
132+
'petroff10':_cm._petroff10_data,
132133
}
133134

134135
def__init__(self):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp