Replies: 1 comment
-
There is none. I would explore a matplotlib based solution. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm building an application around xarray and want the
xr.DataArray.plot.pcolormesh()
outputs to have equal aspect ratio (same scaling of x units to y units) by default.One way is to grab the axes object (
ax
) and applyax.set_aspec('equal')
after plotting, but I'm wondering whether there is any more convenient way to instead set this as a global parameter in xarray.If all else fails, perhaps I can subclass the DataArray but I'd like to not have to per this discussion.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions