Skip to content

Commit 4279e56

Browse 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` matplotlib#889
1 parent 6cf05d0 commit 4279e56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/color/colormaps_reference.py

+3-3
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)