On Fri, Jul 9, 2010 at 3:10 PM, Preben Randhol <rand...@pvv.org> 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 zoom on a graph that argument is not a
> gdk.gtk.image (or something like that) but None.
>
> I thought this was fixed in 1.0, but it isn't
>
> Please advice!

Does this example work for you?

  
http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_gtk3.html

It uses a ScrolledWindow.

Also, are you using backend_gtk or backend_gtkagg (and does it matter
for your problem?)

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.

JDH

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to