-
Notifications
You must be signed in to change notification settings - Fork 361
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
AttributeError: 'GeoAxesSubplot' object has no attribute '_hold' #1365
Comments
I think your title is misleading, I don't see that error in your output at all? It doesn't look like you are doing a surface plot to me. I don't know what your dataset is, but here is a link to xarray map examples. Try following that with the contour call. |
Sorry, I use the wrong traceback. I have updated it now. Thanks for pointing out it. |
Ah, I was answering the wrong question then :) Now with the new traceback, it looks like this is the same issue as seen here: |
Here are the versions of my cartopy and matplotlib. |
Well #1120 was fixed in CartoPy 0.17.0, so I'm pretty sure upgrading would solve your problem. |
Ryan--Thanks! |
Description
Hi there,
I am trying to do a 2D plot. I get a xarray data 'co' in lat and lon dimension. I want to use co.plot(ax=ax,cmap=WhGrYlRd) to plot it.
However, I got a traceback like this
Code to reproduce
The text was updated successfully, but these errors were encountered: