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 4279e56

Browse filesBrowse files
committed
Remove redundant colormaps from examples
`gist_yarg`, `gist_gray`, and `binary` are identical to `gray`, so they are "on a deprecation path", and `spectral` was renamed to `nipy_spectral` to avoid conflicts with `Spectral` #889
1 parent 6cf05d0 commit 4279e56
Copy full SHA for 4279e56

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎examples/color/colormaps_reference.py

Copy file name to clipboardExpand all lines: examples/color/colormaps_reference.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,17 @@
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',
4747
'RdBu', 'RdGy', 'RdYlBu', 'RdYlGn', 'seismic']),
4848
('Qualitative', ['Accent', 'Dark2', 'hsv', 'Paired', 'Pastel1',
49-
'Pastel2', 'Set1', 'Set2', 'Set3', 'spectral']),
49+
'Pastel2', 'Set1', 'Set2', 'Set3', 'nipy_spectral']),
5050
('Miscellaneous', ['gist_earth', 'gist_ncar', 'gist_rainbow',
5151
'gist_stern', 'jet', 'brg', 'CMRmap', 'cubehelix',
5252
'gnuplot', 'gnuplot2', 'ocean', 'rainbow',

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.