| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -24,9 +24,8 @@ | |||
| 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 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -161,11 +161,26 @@ def plot_color_gradients(category, cmap_list): | |||
| 161 | 161 | # an excellent example of this). | |
| 162 | 162 | ||
| 163 | 163 | plot_color_gradients('Sequential (2)', | |
| 164 | - ['binary', 'gist_yarg', 'gist_gray', 'gray', 'bone', | ||
| 165 | - 'pink', 'spring', 'summer', 'autumn', 'winter', 'cool', | ||
| 166 | - 'Wistia', 'hot', 'afmhot', 'gist_heat', 'copper']) | ||
| 164 | + ['gray', 'bone', 'pink', 'spring', 'summer', 'autumn', | ||
| 165 | + 'winter', 'cool', 'Wistia', 'hot', 'afmhot', 'gist_heat', | ||
| 166 | + 'copper']) | ||
| 167 | 167 | ||
| 168 | 168 | # %% | |
| 169 | + # .. admonition:: Discouraged | ||
| 170 | + # | ||
| 171 | + # For backward compatibility we additionally support the following colormap | ||
| 172 | + # names, which are identical to other builtin colormaps. Their use is | ||
| 173 | + # discouraged. Use the suggested replacement instead. | ||
| 174 | + # | ||
| 175 | + # ========= ================================= | ||
| 176 | + # Colormap Use identical replacement instead | ||
| 177 | + # ========= ================================= | ||
| 178 | + # gist_gray gray | ||
| 179 | + # gist_yarg gray_r | ||
| 180 | + # binary gray_r | ||
| 181 | + # ========= ================================= | ||
| 182 | + # | ||
| 183 | + # | ||
| 169 | 184 | # Diverging | |
| 170 | 185 | # --------- | |
| 171 | 186 | # | |
| Back | FazBrowse Home | New Git URL |
0 commit comments