I am writing a script with a matplotlib figure embedded in a Tkinter Frame :
fig=Figure() ax=fig.add_subplot(111) canvas = FigureCanvasTkAgg(fig, root) and so on... Everything goes well but when i try to clear the figure, the xaxis and yaxis don't desappear, so that the next axis print over the previous ones. ax.cla() clears the plot. But ax.xaxis.cla() or ax.yaxis.cla() have no effect. And fig.clr() seems to lock the process : nothing deleted, nothing new ploted. Can somebody help ? Thank you. JD -- View this message in context: http://old.nabble.com/Clearing-the-axis-in-a-figure-embedded-in-Tkinter-tp32054762p32054762.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users