matplotlib - removing text from a figure - a bug?

Discussion in 'Python' started by Raphael Mameghani, Feb 11, 2013.

  1. 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")
    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
     
    Raphael Mameghani, Feb 11, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dr. Colombes
    Replies:
    3
    Views:
    677
    John Hunter
    Feb 23, 2005
  2. Chris  Chiasson
    Replies:
    6
    Views:
    635
    Richard Tobin
    Nov 14, 2006
  3. dmitrey
    Replies:
    2
    Views:
    935
    Baptiste Carvello
    May 7, 2007
  4. bdb112
    Replies:
    2
    Views:
    2,638
    Carl Banks
    Oct 20, 2009
  5. Xah Lee
    Replies:
    7
    Views:
    794
    Ian Kelly
    Jul 5, 2011
Loading...

Share This Page