-
Notifications
You must be signed in to change notification settings - Fork 371
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
Cartopy 0.24 throws a TypeError
when saving with bbox_inches="tight"
#2464
Comments
What is |
I suspect it is the iris patch referred to in this issue: SciTools/iris#5977 |
Preposed fix: #2465 |
This will be fixed in the next version of Iris (for which the rc just went out). |
I'll test this afternoon. |
Tested now with iris 3.11.0rc0 and it fixes this issue. |
Seems like this is not a Cartopy bug. |
Description
Crash when plotting with
bbox_inches="tight"
in cartopy v0.24.0. This issue does not occur in v0.23, and I've traced it down to 454567a as the cause.Code to reproduce
https://github.com/MetOffice/CSET/blob/adad8cc2341607e9fcfe796271368732201b75fc/tests/operators/test_plots.py#L74-L80
which runs
https://github.com/MetOffice/CSET/blob/adad8cc2341607e9fcfe796271368732201b75fc/src/CSET/operators/plot.py#L187-L279
Traceback
Full environment definition
Operating system
Linux (RHEL 7)
Cartopy version
0.24.0
Conda list
https://github.com/MetOffice/CSET/blob/adad8cc2341607e9fcfe796271368732201b75fc/requirements/locks/py312-lock-linux-64.txt
The text was updated successfully, but these errors were encountered: