Skip to content

Issue removing artists in matplotlib 3.10 #1772

@psavery

Description

@psavery

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions