Skip to content

Conversation

@psavery
Copy link
Collaborator

@psavery psavery commented Apr 24, 2025

This will also unpin the matplotlib version as a result.

I did not immediately see any further issues, but if we encounter more in the future, we can hopefully fix them quickly.

Thanks @patquem for the pointer in #1772!

Fixes: #1772

@psavery psavery force-pushed the fix-matplotlib-3.10 branch from a6c50bb to a757668 Compare April 24, 2025 21:07
@psavery
Copy link
Collaborator Author

psavery commented Apr 24, 2025

@saransh13 @bnmajor Can either of you review? You will need to upgrade matplotlib on your computer.

If we run into more issues, hopefully we can fix them pretty quickly. The changes matplotlib make did result in errors in numerous places.

@psavery psavery requested review from bnmajor and saransh13 April 24, 2025 21:07
This will also unpin the matplotlib version as a result.

I did not immediately see any further issues, but if we encounter more in the
future, we can hopefully fix them quickly.

Thanks @patquem for the pointer in #1772!

Signed-off-by: Patrick Avery <[email protected]>
@psavery psavery force-pushed the fix-matplotlib-3.10 branch from a757668 to d24473d Compare December 12, 2025 15:20
It's not safe to remove artists the old way, because they may raise
an exception if the figure they were in was cleared.

Instead, we have to do it this way and just ignore any errors that
occur. It would be nice if we figured out a cleaner way at some point.

Signed-off-by: Patrick Avery <[email protected]>
@psavery psavery force-pushed the fix-matplotlib-3.10 branch from 4ca0aa3 to 6d43b6a Compare December 12, 2025 17:57
@psavery
Copy link
Collaborator Author

psavery commented Dec 12, 2025

This has been revived. I think we are ready to upgrade matplotlib

Copy link
Member

@saransh13 saransh13 left a comment

Choose a reason for hiding this comment

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

didn't encounter any issues. LGTM

@psavery psavery merged commit aa2a94e into master Dec 12, 2025
7 checks passed
@psavery psavery deleted the fix-matplotlib-3.10 branch December 12, 2025 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue removing artists in matplotlib 3.10

3 participants