|
24 | 24 | 'YlOrBr', 'YlOrRd', 'OrRd', 'PuRd', 'RdPu', 'BuPu', |
25 | 25 | 'GnBu', 'PuBu', 'YlGnBu', 'PuBuGn', 'BuGn', 'YlGn']), |
26 | 26 | ('Sequential (2)', [ |
27 | | - 'binary', 'gist_yarg', 'gist_gray', 'gray', 'bone', 'pink', |
28 | | - 'spring', 'summer', 'autumn', 'winter', 'cool', 'Wistia', |
29 | | - 'hot', 'afmhot', 'gist_heat', 'copper']), |
| 27 | + 'gray', 'bone', 'pink', 'spring', 'summer', 'autumn', 'winter', |
| 28 | + 'cool', 'Wistia', 'hot', 'afmhot', 'gist_heat', 'copper']), |
30 | 29 | ('Diverging', [ |
31 | 30 | 'PiYG', 'PRGn', 'BrBG', 'PuOr', 'RdGy', 'RdBu', |
32 | 31 | 'RdYlBu', 'RdYlGn', 'Spectral', 'coolwarm', 'bwr', 'seismic', |
@@ -70,6 +69,22 @@ def plot_color_gradients(cmap_category, cmap_list): |
70 | 69 |
|
71 | 70 |
|
72 | 71 | # %% |
| 72 | +# |
| 73 | +# .. admonition:: Discouraged |
| 74 | +# |
| 75 | +# For backward compatibility we additionally support the following colormap |
| 76 | +# names, which are identical to other builtin colormaps. Their use is |
| 77 | +# discouraged. Use the suggested replacement instead. |
| 78 | +# |
| 79 | +# ========= ================================= |
| 80 | +# Colormap Use identical replacement instead |
| 81 | +# ========= ================================= |
| 82 | +# gist_gray gray |
| 83 | +# gist_yarg gray_r |
| 84 | +# binary gray_r |
| 85 | +# ========= ================================= |
| 86 | +# |
| 87 | +# |
73 | 88 | # .. _reverse-cmap: |
74 | 89 | # |
75 | 90 | # Reversed colormaps |
|
0 commit comments