Skip to content

Commit f6ca3af

Browse files
mikhailov-worktacaswell
authored andcommitted
- adding a newline to colormaps.py
- moving turbo to be near jet for better comparison
1 parent ed08a91 commit f6ca3af

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

examples/color/colormap_reference.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
('Miscellaneous', [
3838
'flag', 'prism', 'ocean', 'gist_earth', 'terrain', 'gist_stern',
3939
'gnuplot', 'gnuplot2', 'CMRmap', 'cubehelix', 'brg',
40-
'gist_rainbow', 'rainbow', 'jet', 'nipy_spectral', 'gist_ncar',
41-
'turbo'])]
40+
'gist_rainbow', 'rainbow', 'jet', 'turbo', 'nipy_spectral',
41+
'gist_ncar'])]
4242

4343

4444
gradient = np.linspace(0, 1, 256)

tutorials/colors/colormaps.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@
190190
cmaps['Miscellaneous'] = [
191191
'flag', 'prism', 'ocean', 'gist_earth', 'terrain', 'gist_stern',
192192
'gnuplot', 'gnuplot2', 'CMRmap', 'cubehelix', 'brg',
193-
'gist_rainbow', 'rainbow', 'jet', 'nipy_spectral', 'gist_ncar',
194-
'turbo']
193+
'gist_rainbow', 'rainbow', 'jet', 'turbo', 'nipy_spectral',
194+
'gist_ncar']
195195

196196
###############################################################################
197197
# .. _color-colormaps_reference:
@@ -424,4 +424,4 @@ def plot_color_gradients(cmap_category, cmap_list):
424424
# .. [colorblindness] http://www.color-blindness.com/
425425
# .. [IBM] https://doi.org/10.1109/VISUAL.1995.480803
426426
# .. [palettable] https://jiffyclub.github.io/palettable/
427-
# .. [turbo] https://ai.googleblog.com/2019/08/turbo-improved-rainbow-colormap-for.html
427+
# .. [turbo] https://ai.googleblog.com/2019/08/turbo-improved-rainbow-colormap-for.html

0 commit comments

Comments
 (0)