This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
other:python:maps_by_jyp [2019/11/15 12:53] jypeter [JYP's map room] Added some links |
other:python:maps_by_jyp [2020/02/19 08:32] jypeter [PFT maps] |
||
---|---|---|---|
Line 21: | Line 21: | ||
* Use an //A4 portrait// (''figsize=(8.3, 11.7)'') figure size and ''subplots_adjust'' in order to improve the page layout | * Use an //A4 portrait// (''figsize=(8.3, 11.7)'') figure size and ''subplots_adjust'' in order to improve the page layout | ||
* Use a //listed colormap// (and the associated //norm//), and ''pcolormesh'' to plot the discrete PFT values | * Use a //listed colormap// (and the associated //norm//), and ''pcolormesh'' to plot the discrete PFT values | ||
- | * Use a trick to make sure that the black plot border is correctly plotted above everything (''top_plot.outline_patch.set_zorder(50)'') | + | * Use a trick to make sure that the black plot border is correctly plotted above everything (''top_plot.outline_patch.set_zorder(50)''). Note: the plot border problem in ''cartopy 0.17.0'' has been [[https://github.com/SciTools/cartopy/issues/1364|fixed in a future version of cartopy]] and the //outline_patch trick// will not be required at some point |
===== Megabiome maps ===== | ===== Megabiome maps ===== |