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 3869065

Browse filesBrowse 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
Copy full SHA for 3869065

File tree

Expand file treeCollapse file tree

1 file changed

+9
-7
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-7
lines changed

‎examples/color/colormaps_reference.py

Copy file name to clipboardExpand all lines: examples/color/colormaps_reference.py
+9-7Lines changed: 9 additions & 7 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.