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 052e09e

Browse filesBrowse files
committed
Merge pull request #2659 from endolith/patch-3
DOC: Remove redundant colormaps from examples
2 parents 6cf05d0 + 3869065 commit 052e09e
Copy full SHA for 052e09e

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+11
-9
lines changed

‎examples/color/colormaps_reference.py

Copy file name to clipboardExpand all lines: examples/color/colormaps_reference.py
+11-9Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,23 @@
3636
import matplotlib.pyplot as plt
3737

3838

39-
cmaps = [('Sequential', ['binary', 'Blues', 'BuGn', 'BuPu', 'gist_yarg',
39+
cmaps = [('Sequential', ['Blues', 'BuGn', 'BuPu',
4040
'GnBu', 'Greens', 'Greys', 'Oranges', 'OrRd',
4141
'PuBu', 'PuBuGn', 'PuRd', 'Purples', 'RdPu',
4242
'Reds', 'YlGn', 'YlGnBu', 'YlOrBr', 'YlOrRd']),
4343
('Sequential (2)', ['afmhot', 'autumn', 'bone', 'cool', 'copper',
44-
'gist_gray', 'gist_heat', 'gray', 'hot', 'pink',
44+
'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', '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.