Skip to content

NotImplementedError: cannot remove artist #1747

@mameghani

Description

@mameghani

Some/many/all(?) artists cannot be removed from a figure:

from matplotlib.figure import Figure
fig = Figure()
caption = fig.suptitle("test")
caption.remove()
Traceback (most recent call last):
  File "<pyshell#6>", line 1, in <module>
    caption.remove()
  File "C:\Programme\Python27\lib\site-packages\matplotlib\artist.py",
line 134, in remove
    raise NotImplementedError('cannot remove artist')
NotImplementedError: cannot remove artist

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions