Skip to content

Commit 8be0473

Browse files
committed
Rename SciVisColor cmaps to prevent naming conflicts with open-color
1 parent 2dd5117 commit 8be0473

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+23
-17
lines changed

docs/colormaps.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,17 +252,17 @@
252252

253253
# Diverging colormap example
254254
title1 = 'Custom diverging map'
255-
cmap1 = plot.Colormap('Blue4_r', 'RedPurple3', name='Diverging', save=True)
255+
cmap1 = plot.Colormap('Blues4_r', 'Reds3', name='Diverging', save=True)
256256

257257
# SciVisColor examples
258258
title2 = 'Custom complex map'
259259
cmap2 = plot.Colormap(
260-
'Green1_r', 'Orange5', 'Blue1_r', 'Blue6',
260+
'Greens1_r', 'Oranges5', 'Blues1_r', 'Blues6',
261261
name='Complex', save=True
262262
)
263263
title3 = 'SciVisColor example reproduction'
264264
cmap3 = plot.Colormap(
265-
'Green1_r', 'Orange5', 'Blue1_r', 'Blue6',
265+
'Greens1_r', 'Oranges5', 'Blues1_r', 'Blues6',
266266
ratios=(1, 3, 5, 10), name='SciVisColor', save=True
267267
)
268268

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<ColorMaps><ColorMap space="Lab" indexedLookup="false" group="Interlinked" name="Blue 10"><Point x="0" o="1" r="0.94902" g="1" b="0.992157"/><Point x="0.05" o="1" r="0.843137" g="0.980392" b="0.968627"/><Point x="0.1" o="1" r="0.768627" g="0.960784" b="0.960784"/><Point x="0.2" o="1" r="0.690196" g="0.890196" b="0.909804"/><Point x="0.3" o="1" r="0.607843" g="0.792157" b="0.831373"/><Point x="0.4" o="1" r="0.533333" g="0.701961" b="0.760784"/><Point x="0.5" o="1" r="0.462745" g="0.619608" b="0.701961"/><Point x="0.6" o="1" r="0.415686" g="0.556863" b="0.65098"/><Point x="0.7" o="1" r="0.364706" g="0.490196" b="0.6"/><Point x="0.75" o="1" r="0.337255" g="0.447059" b="0.568627"/><Point x="0.8" o="1" r="0.317647" g="0.411765" b="0.54902"/><Point x="0.85" o="1" r="0.301961" g="0.376471" b="0.529412"/><Point x="0.9" o="1" r="0.290196" g="0.34902" b="0.509804"/><Point x="0.95" o="1" r="0.27451" g="0.317647" b="0.490196"/><Point x="1" o="1" r="0.254902" g="0.286275" b="0.458824"/><Section colorMapName="Blue 10" startIndex="0" endIndex="1" startPos="0" endPos="1" startValue="0" endValue="1" flipped="false" startAlpha="1" endAlpha="1"/></ColorMap></ColorMaps>
1+
<ColorMaps><ColorMap space="Lab" indexedLookup="false" group="Interlinked" name="Blue 10"><Point x="0" o="1" r="0.94902" g="1" b="0.992157"/><Point x="0.05" o="1" r="0.843137" g="0.980392" b="0.968627"/><Point x="0.1" o="1" r="0.768627" g="0.960784" b="0.960784"/><Point x="0.2" o="1" r="0.690196" g="0.890196" b="0.909804"/><Point x="0.3" o="1" r="0.607843" g="0.792157" b="0.831373"/><Point x="0.4" o="1" r="0.533333" g="0.701961" b="0.760784"/><Point x="0.5" o="1" r="0.462745" g="0.619608" b="0.701961"/><Point x="0.6" o="1" r="0.415686" g="0.556863" b="0.65098"/><Point x="0.7" o="1" r="0.364706" g="0.490196" b="0.6"/><Point x="0.75" o="1" r="0.337255" g="0.447059" b="0.568627"/><Point x="0.8" o="1" r="0.317647" g="0.411765" b="0.54902"/><Point x="0.85" o="1" r="0.301961" g="0.376471" b="0.529412"/><Point x="0.9" o="1" r="0.290196" g="0.34902" b="0.509804"/><Point x="0.95" o="1" r="0.27451" g="0.317647" b="0.490196"/><Point x="1" o="1" r="0.254902" g="0.286275" b="0.458824"/><Section colorMapName="Blue 10" startIndex="0" endIndex="1" startPos="0" endPos="1" startValue="0" endValue="1" flipped="false" startAlpha="1" endAlpha="1"/></ColorMap></ColorMaps>

0 commit comments

Comments
 (0)