how to delete figtext without removing my axes??

Jeff Peery <jeffpeery@...9...> 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