Skip to content

Commit 7e72653

Browse files
Update cfplot ncols set values to have full scale despite bug
1 parent 8992b1b commit 7e72653

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/source/recipes/plot_17_recipe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
)
8181
for i, colour_scale in enumerate(colour_scales_columns):
8282
cfp.gpos(i + 1)
83-
cfp.cscale(colour_scale, ncols=11)
83+
cfp.cscale(colour_scale, ncols=15)
8484

8585
# For the topmost plots, label the column with the colour scale category
8686
# using the 'title' argument, otherwise don't add a title.

docs/source/recipes/plot_20_recipe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
# the data which can be positive or negative, i.e. has 0 as the 'middle'
7575
# value of significance, so should use a diverging colour map.
7676
cfp.mapset(resolution="10m")
77-
cfp.cscale("ncl_default")
77+
cfp.cscale("ncl_default", ncols=25)
7878

7979
# %%
8080
# 9. Now generate the final plot. Plot the current vectors, noting we had

0 commit comments

Comments
 (0)