-
Notifications
You must be signed in to change notification settings - Fork 0
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
emsarray plotting error #4
Comments
I can reproduce this locally by installing the latest versions of everything and running in jupyter lab. $ conda install -c conda-forge emsarray jupyter-lab ipympl I replaced the %matplotlib ipympl
import emsarray
import numpy
from matplotlib import pyplot as plt
ds = emsarray.tutorial.open_dataset('gbr4')
figure = plt.figure(figsize=(8, 6), dpi=100)
axes = figure.add_subplot(projection=ds.ems.data_crs)
axes.set_aspect(aspect='equal', adjustable='datalim')
axes.set(title="botz")
axes.add_collection(ds.ems.make_poly_collection(ds['botz'], cmap='jet', edgecolor='face'))
gridlines = axes.gridlines(draw_labels=["bottom", "left"], auto_update=True)
axes.autoscale() Either setting |
This issue and specifically this comment seems relevant: SciTools/cartopy#1541 (comment) |
This issue is resolved in more recent versions of emsarray (see csiro-coasts/emsarray#137) and cartopy (see SciTools/cartopy#2246). |
I'm trying to plot using emsarray and getting the following issue. I have update my libraries and now I'm not sure why this is occuring. I can use other plotting without any issues. I was following https://github.com/csiro-coasts/emsarray-notebooks/blob/master/plot.ipynb
Input Code:
Error received.
The text was updated successfully, but these errors were encountered: