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

Issue removing artists in matplotlib 3.10 #1772

Open
psavery opened this issue Jan 8, 2025 · 0 comments
Open

Issue removing artists in matplotlib 3.10 #1772

psavery opened this issue Jan 8, 2025 · 0 comments

Comments

@psavery
Copy link
Collaborator

psavery commented Jan 8, 2025

There's some new issue with removing several of our artists starting in matplotlib 3.10 (including overlays, detector borders, the beam marker, and potentially more). It is very common that when remove() is called on the artists, that a NotImplementedError is raised. The error is as follows:

.../matplotlib/artist.py", line 256, in remove
    raise NotImplementedError('cannot remove artist')
NotImplementedError: cannot remove artist

Perhaps this is an issue that will get fixed in matplotlib soon. If not, we'll need to figure out an alternative way to remove the artists.

For now, we are fixing the matplotlib version to be less than 3.10 in #1771

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

No branches or pull requests

1 participant