Skip to content

Commit 89647c1

Browse files
authored
Merge pull request #10463 from afvincent/add_cividis_to_colormaps_tutorial
DOC: Add cividis to the tutorial about colormaps
2 parents 84292c4 + 582d98a commit 89647c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tutorials/colors/colormaps.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@
8484
# amongst the colormaps: some are approximately linear in :math:`L^*` and others
8585
# are more curved.
8686

87-
cmaps['Perceptually Uniform Sequential'] = ['viridis', 'plasma',
88-
'inferno', 'magma']
87+
cmaps['Perceptually Uniform Sequential'] = [
88+
'viridis', 'plasma', 'inferno', 'magma', 'cividis']
8989

9090
cmaps['Sequential'] = [
9191
'Greys', 'Purples', 'Blues', 'Greens', 'Oranges', 'Reds',
@@ -205,7 +205,7 @@ def plot_color_gradients(cmap_category, cmap_list, nrows):
205205
mpl.rcParams.update({'font.size': 12})
206206

207207
# Number of colormap per subplot for particular cmap categories
208-
_DSUBS = {'Perceptually Uniform Sequential': 4, 'Sequential': 6,
208+
_DSUBS = {'Perceptually Uniform Sequential': 5, 'Sequential': 6,
209209
'Sequential (2)': 6, 'Diverging': 6, 'Qualitative': 4,
210210
'Miscellaneous': 6}
211211

0 commit comments

Comments
 (0)