forked from matplotlib/matplotlib
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request matplotlib#5284 from mdboom/colormap-docs
New Colormaps to docs
- Loading branch information
1 parent
a83dead
commit 2ebdad8
Showing
6 changed files
with
216 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Have colormaps separated into categories: | ||
# http://matplotlib.org/examples/color/colormaps_reference.html | ||
|
||
cmaps = [('Perceptually Uniform Sequential', | ||
['viridis', 'inferno', 'plasma', 'magma']), | ||
('Sequential', ['Blues', 'BuGn', 'BuPu', | ||
'GnBu', 'Greens', 'Greys', 'Oranges', 'OrRd', | ||
'PuBu', 'PuBuGn', 'PuRd', 'Purples', 'RdPu', | ||
'Reds', 'YlGn', 'YlGnBu', 'YlOrBr', 'YlOrRd']), | ||
('Sequential (2)', ['afmhot', 'autumn', 'bone', 'cool', | ||
'copper', 'gist_heat', 'gray', 'hot', | ||
'pink', 'spring', 'summer', 'winter']), | ||
('Diverging', ['BrBG', 'bwr', 'coolwarm', 'PiYG', 'PRGn', 'PuOr', | ||
'RdBu', 'RdGy', 'RdYlBu', 'RdYlGn', 'Spectral', | ||
'seismic']), | ||
('Qualitative', ['Accent', 'Dark2', 'Paired', 'Pastel1', | ||
'Pastel2', 'Set1', 'Set2', 'Set3']), | ||
('Miscellaneous', ['gist_earth', 'terrain', 'ocean', 'gist_stern', | ||
'brg', 'CMRmap', 'cubehelix', | ||
'gnuplot', 'gnuplot2', 'gist_ncar', | ||
'nipy_spectral', 'jet', 'rainbow', | ||
'gist_rainbow', 'hsv', 'flag', 'prism'])] |
Oops, something went wrong.