Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panel plots much easier #12

Open
aaronspring opened this issue Aug 2, 2020 · 2 comments
Open

panel plots much easier #12

aaronspring opened this issue Aug 2, 2020 · 2 comments

Comments

@aaronspring
Copy link

Hi Kathy,

you could do your panel plots so much easier with facet grids: https://kpegion.github.io/Pangeo-at-AOES/examples/multi-panel-cartopy.html

fg = ds.plot(col='model', col_wrap=3, transform=ccrs.PlateCaree(),...)

see https://xarray-contrib.github.io/xarray-tutorial/scipy-tutorial/04_plotting_and_visualization.html#Geography:-Matplotlib-and-Cartopy

applying functions to all subplots with fg.map(func)

the spacing between plots can be done with aspect, size, ... in xr.plot() or with https://github.com/spencerkclark/faceted

@kpegion
Copy link
Owner

kpegion commented Aug 4, 2020

Thanks @aaronspring. I'll take a look!

@kpegion
Copy link
Owner

kpegion commented Oct 22, 2020

Hi @aaronspring I haven't managed to post any new ones here yet. I just did some for my class and my own personal research. Its on my list to update here once the semester ends. I've re-opened this to remind me.

@kpegion kpegion reopened this Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants