Skip to content
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

Update contourf call check for mpl 3.8 #8186

Merged
merged 1 commit into from
Sep 16, 2023

Conversation

ksunden
Copy link
Contributor

@ksunden ksunden commented Sep 15, 2023

In doing the final checks prior to release of Matplotlib 3.8.0, we noticed that there were two test failures here
due to the return type/artist tree changing for contourf calls (while the type is reasonably back-compatible itself,
we have moved from a "QuadContourSet makes a PathCollection" to "QuadContourSet is a full artist/collection"

xref matplotlib/matplotlib#25247

Unfortunately this change is not really possible to make with deprecations/etc, so we are kind of stuck just making it.
However, in practice, it has only ever seemed to matter for test code which is pretty easy to make work (like here),r
so we have decided to go forward with the change.

Copy link
Collaborator

@headtr1ck headtr1ck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@headtr1ck headtr1ck added the plan to merge Final call for comments label Sep 15, 2023
@headtr1ck headtr1ck merged commit 45678bf into pydata:main Sep 16, 2023
max-sixty pushed a commit to max-sixty/xarray that referenced this pull request Sep 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plan to merge Final call for comments
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants