melodies_monet.plots
Plotting routines.
- melodies_monet.plots.savefig(fname, *, loc=2, decorate=True, logo=PosixPath('/home/docs/checkouts/readthedocs.org/user_builds/melodies-monet/checkouts/develop/melodies_monet/plots/../data/MM_logo.png'), logo_height=None, **kwargs)
Save figure and add logo.
- Parameters:
fname (
str) – Output file name or path. Passed toplt.savefig. Must include desired file extension (.jpgor.png).loc (
int) – The location for the logo.1 – bottom left (default)
2 – bottom right
3 – top right
4 – top left
decorate (
bool, default:True) – Whether to add the logo.logo (
str, optional) – Path to the logo to be used. If not provided, the MONET logo is used.logo_height (
floatorint, optional) – Desired logo height in pixels. If not provided, the original logo image dimensions are used. Modify to scale the logo.**kwargs (
dict) – Passed to theplt.savefigfunction.
- Returns:
None
Modules
Plot_2D.py this code is designed for plotting CESM output can be used for either finite volume or spectral element (+ regional refinement) |
|
aircraftplots.py this code is designed for plotting aircraft specific plot types |
|