Re: [Matplotlib-users] embed matplotlib Figure into Tkinter Canvas

2010-08-16 Thread Friedrich Romstedt
2010/8/13 Andrea Tomadin gurnem...@me.com: Dear John, thank you for your suggestion.  Unfortunately, I have just tried that and I am positive that it does not work. It works only if the option frameon of the figure is True, which is not what I want in this case (I have to produce a pdf

[Matplotlib-users] embed matplotlib Figure into Tkinter Canvas

2010-08-13 Thread gurnemanz
Dear All, I am trying to embed a matplotlib Figure into a Tkinter Canvas. The problem is, when I change the content of the figure (e.g. I delete and create new axes) the new items are plotted but the old items are not deleted. The old items disappear immediately when I resize the window. I

Re: [Matplotlib-users] embed matplotlib Figure into Tkinter Canvas

2010-08-13 Thread John Hunter
On Fri, Aug 13, 2010 at 1:42 AM, gurnem...@me.com wrote: Dear All, I am trying to embed a matplotlib Figure into a Tkinter Canvas.  The problem is, when I change the content of the figure (e.g. I delete and create new axes) the new items are plotted but the old items are not deleted.  The

Re: [Matplotlib-users] embed matplotlib Figure into Tkinter Canvas

2010-08-13 Thread Andrea Tomadin
Dear John, thank you for your suggestion. Unfortunately, I have just tried that and I am positive that it does not work. It works only if the option frameon of the figure is True, which is not what I want in this case (I have to produce a pdf with transparent background). Regards, Andrea On