Re: [Matplotlib-users] Figures piling up in Tkinter GUI

2012-11-05 Thread Hans Bering
> Content-Type: text/plain; charset=ISO-8859-1 > 2012/11/1 Hans Bering : >> Hello everybody, >> >> I'm building a small Tkinter GUI using matplotlib, in which I have to >> change/update plots quite often depending on user input (with different >> conten

[Matplotlib-users] Figures piling up in Tkinter GUI (1.2.0rc2)

2012-11-01 Thread Hans Bering
Hello everybody, I'm building a small Tkinter GUI using matplotlib, in which I have to change/update plots quite often depending on user input (with different contents & sizes, in different places in the GUI, etc.; but always only one figure at a time). As a first resort, I regenerated the

Re: [Matplotlib-users] adding scrollbars to plot embedded in tk

2011-09-05 Thread Hans Bering
Hi Matt, a possible workaround seems to be to embed the figure's canvas in a second Tk canvas using canvas.create_window(...). The second (embedding) canvas handles the appropriate resizing & scrolling. I have attached a script below to demonstrate. Unfortunately, scrolling is rather sluggis

Re: [Matplotlib-users] "bad screen distance" tkinter error with German locale

2011-07-01 Thread hans . bering
Hi, thanks for the very quick response & fix. We were surprised, too, that we hadn't found more about this problem. We were put on the right track by this related report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=395867 - Thanks also for the link to the other report. I'll see if I can c

[Matplotlib-users] "bad screen distance" tkinter error with German locale

2011-06-30 Thread hans . bering
Hi, sorry if this has already been addressed. I did a search on the archives, but even though that turned up lots of hits, none of them seemed to be related to the issue. The following very simple example will reliably crash in Python 2.7.[0-2] with matplotlib 1.0.1 under a 64 bit German Windo