Re: [Matplotlib-users] Clearing the axis in a figure embedded in Tkinter

2011-07-14 Thread JD83
Sorry, it doesn't work. ax.set_ylabel("foo") doesn't change anything (before "ax.yaxis.cla()"). And f.clf(keep_observers=False) still locks the process. But maybe I used wrong terms. Here is the displays ; left before the clearing ; right, after the clearing ; the plot is correctly renewed, bu

Re: [Matplotlib-users] Clearing the axis in a figure embedded in Tkinter

2011-07-14 Thread JD83
Sorry, it doesn't work. ax.set_ylabel("foo") doesn't change anything (before "ax.yaxis.cla()"). And f.clf(keep_observers=False) still locks the process. But maybe I used wrong terms. Here is the displays ; left before the clearing ; right, after the clearing ; the plot is correctly renewed, bu

[Matplotlib-users] Clearing the axis in a figure embedded in Tkinter

2011-07-13 Thread JD83
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