On Mon, Oct 6, 2008 at 1:40 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > Jon Froehlich wrote: >> Hi Eric, >> >> Thanks for the response. I am just calling show() within pylab and a GUI >> automatically pops-up. A screenshot is attached. It looks like the >> underlying GUI is TK? I am on Vista (unfortunately). > > > The problem is TK-specific, not Vista-specific. I can reproduce it with > svn mpl on ubuntu hardy if I start with > import matplotlib > matplotlib.use('tkagg') > > I have never looked into the tkagg backend; I hope there is a tk guru > waiting in the wings to track this down and fix it. >
It looks like noone ever added support for it in tkagg -- I think all that needs to be done is add self.resize_event() to FigureCanvasTkAgg.resize. I just committed these changes to svn r6159 -- it appears to work for the test case Jon posted... JDH ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users