Jeff Peery <[EMAIL PROTECTED]> writes:

> hello, I have an application I'm working on, and I need to remove
> figtext() without using a figure.clear(). how can I do this? thanks.

When you call figtext, save the return value, and then call
set_visible(False) on it to hide it, or delete it from the figure's
texts list:

ft=fig.figtext(x, y, text)
# ...
ft.set_visible(False); draw()
# or:
fig.texts.remove(ft); draw()

-- 
Jouni K. Seppänen
http://www.iki.fi/jks


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to