-
Notifications
You must be signed in to change notification settings - Fork 97
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
Test failures with Matplotlib 3.5.0b1 #188
Comments
So the problem is that the coast lines 'disappeared'. That's because they have zorder=1 in Cartopy, and contours also have zorder=1 in Matplotlib. With 3.5.0b1, Matplotlib respects plotting order and no longer arbitrarily re-orders artists (matplotlib/matplotlib#18216), so the coast lines are drawn under the contour. The quick fix would be to move the I do wonder if we should do something about this in Cartopy and/or Matplotlib. |
I just encountered the same issue. Simply adding zorder=2 to the ax.coastlines() calls solves it. |
Yes, that will work; we are also fixing this in Cartopy: SciTools/cartopy#1840 |
Latest Cartopy fixes this for you, but it also changes the results slightly. The limits are a little better and higher, and the new gridline labelling changes the +/- to N/S or E/W. |
New test results from the latest fedora rawhide rebuild look different, but I still see failing tests related to cartopy plots created by the pygrib test suite that do not match expectations. See the attached file: Any advice how to change/fix the tests to prevent these failures are welcome. Software versions used for this test are: |
If you really don't want to change them, I think you can just set the limits of the plot. |
Building with Matplotlib 3.5.0b1 fails on two tests:
The text was updated successfully, but these errors were encountered: