From 582d98a38d5c65743f2775d86da3d422391d4c4d Mon Sep 17 00:00:00 2001 From: "Adrien F. Vincent" Date: Wed, 14 Feb 2018 12:01:33 -0800 Subject: [PATCH] Add cividis to the tutorial about colormaps --- tutorials/colors/colormaps.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tutorials/colors/colormaps.py b/tutorials/colors/colormaps.py index 01bd2d05dc58..6d3b58b6a8c6 100644 --- a/tutorials/colors/colormaps.py +++ b/tutorials/colors/colormaps.py @@ -84,8 +84,8 @@ # amongst the colormaps: some are approximately linear in :math:`L^*` and others # are more curved. -cmaps['Perceptually Uniform Sequential'] = ['viridis', 'plasma', - 'inferno', 'magma'] +cmaps['Perceptually Uniform Sequential'] = [ + 'viridis', 'plasma', 'inferno', 'magma', 'cividis'] cmaps['Sequential'] = [ 'Greys', 'Purples', 'Blues', 'Greens', 'Oranges', 'Reds', @@ -205,7 +205,7 @@ def plot_color_gradients(cmap_category, cmap_list, nrows): mpl.rcParams.update({'font.size': 12}) # Number of colormap per subplot for particular cmap categories -_DSUBS = {'Perceptually Uniform Sequential': 4, 'Sequential': 6, +_DSUBS = {'Perceptually Uniform Sequential': 5, 'Sequential': 6, 'Sequential (2)': 6, 'Diverging': 6, 'Qualitative': 4, 'Miscellaneous': 6}