matplotlib - removing text from a figure - a bug?

Raphael Mameghani raphael at
Mon Feb 11 16:03:36 CET 2013

Does anyone know if the following error message is a matplotlib bug?
Is there an correct/alternative way to remove (or replace) text? Thank
you, Raphael

from matplotlib.figure import Figure
fig = Figure()
caption = fig.suptitle("test")

Traceback (most recent call last):
  File "<pyshell#6>", line 1, in <module>
  File "C:\Programme\Python27\lib\site-packages\matplotlib\",
line 134, in remove
    raise NotImplementedError('cannot remove artist')
NotImplementedError: cannot remove artist

More information about the Python-list mailing list