Skip to content

Commit 3869065

Browse files
committed
DOC: Move spectral colormaps together
`Spectral` was missing, and `hsv` and `nipy_spectral` shouldn't be in the qualitative group, which are the 8 colormaps dumped here from ColorBrewer but that shouldn't really be here
1 parent 4279e56 commit 3869065

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

examples/color/colormaps_reference.py

+9-7
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,15 @@
4444
'gist_heat', 'gray', 'hot', 'pink',
4545
'spring', 'summer', 'winter']),
4646
('Diverging', ['BrBG', 'bwr', 'coolwarm', 'PiYG', 'PRGn', 'PuOr',
47-
'RdBu', 'RdGy', 'RdYlBu', 'RdYlGn', 'seismic']),
48-
('Qualitative', ['Accent', 'Dark2', 'hsv', 'Paired', 'Pastel1',
49-
'Pastel2', 'Set1', 'Set2', 'Set3', 'nipy_spectral']),
50-
('Miscellaneous', ['gist_earth', 'gist_ncar', 'gist_rainbow',
51-
'gist_stern', 'jet', 'brg', 'CMRmap', 'cubehelix',
52-
'gnuplot', 'gnuplot2', 'ocean', 'rainbow',
53-
'terrain', 'flag', 'prism'])]
47+
'RdBu', 'RdGy', 'RdYlBu', 'RdYlGn', 'Spectral',
48+
'seismic']),
49+
('Qualitative', ['Accent', 'Dark2', 'Paired', 'Pastel1',
50+
'Pastel2', 'Set1', 'Set2', 'Set3']),
51+
('Miscellaneous', ['gist_earth', 'terrain', 'ocean', 'gist_stern',
52+
'brg', 'CMRmap', 'cubehelix',
53+
'gnuplot', 'gnuplot2', 'gist_ncar',
54+
'nipy_spectral', 'jet', 'rainbow',
55+
'gist_rainbow', 'hsv', 'flag', 'prism'])]
5456

5557

5658
nrows = max(len(cmap_list) for cmap_category, cmap_list in cmaps)

0 commit comments

Comments
 (0)