Re: [Matplotlib-users] Problems with pygtk and matplotlib

2010-07-12 Thread John Hunter
On Sun, Jul 11, 2010 at 12:52 PM, Preben Randhol wrote: >> If you could create a minimal example starting with >> embedding_in_gtk3.py that replicates your problem, we're more likely >> to be able to help. Thanks for posting the example. This runs fine for me (I can pan, zoom, zoom to rect, the

Re: [Matplotlib-users] Problems with pygtk and matplotlib

2010-07-12 Thread Preben Randhol
On Sun, 11 Jul 2010 13:39:05 -1000 Eric Firing wrote: > On 07/11/2010 07:52 AM, Preben Randhol wrote: > > >> > >> Also, are you using backend_gtk or backend_gtkagg (and does it > >> matter for your problem?) > > > > I use GTKAgg and it works. GTK doesn't. > > > > backend_gtk has limitations tha

Re: [Matplotlib-users] Problems with pygtk and matplotlib

2010-07-11 Thread Eric Firing
On 07/11/2010 07:52 AM, Preben Randhol wrote: >> >> Also, are you using backend_gtk or backend_gtkagg (and does it matter >> for your problem?) > > I use GTKAgg and it works. GTK doesn't. > backend_gtk has limitations that backend_gtkagg does not, although I don't know that your zooming problem

Re: [Matplotlib-users] Problems with pygtk and matplotlib

2010-07-11 Thread Preben Randhol
On Fri, 9 Jul 2010 19:37:56 -0500 John Hunter wrote: > On Fri, Jul 9, 2010 at 3:10 PM, Preben Randhol > wrote: > > > I'm trying to plot several subplots. I have setup a scrollwidget and > > viewport and I pack a canvas into a vbox in the viewport. > > > > Problem is that when I scroll, either s

Re: [Matplotlib-users] Problems with pygtk and matplotlib

2010-07-09 Thread John Hunter
On Fri, Jul 9, 2010 at 3:10 PM, Preben Randhol wrote: > I'm trying to plot several subplots. I have setup a scrollwidget and > viewport and I pack a canvas into a vbox in the viewport. > > Problem is that when I scroll, either some of the subplots are missing, > or I get an error when I try to zo

Re: [Matplotlib-users] Problems with pygtk and matplotlib

2010-07-09 Thread John Hunter
On Fri, Jul 9, 2010 at 3:10 PM, Preben Randhol wrote: > Hi > > I'm trying to plot several subplots. I have setup a scrollwidget and > viewport and I pack a canvas into a vbox in the viewport. > > Problem is that when I scroll, either some of the subplots are missing, > or I get an error when I try