On Wed, 2005-06-01 at 05:12 -0700, matplotlib-users-
[EMAIL PROTECTED] wrote:
> > I made a small test app which clearly shows that Matplotlib 0.8 and
> > PyGTK 2.6 don't work well together. No problem in PyGTK 2.4
> > 
> > bye,
> > Dimtiri

I have problems with it in PyGTK 2.4

$ python testMPL-GTK.py
(testMPL-GTK.py:12685): libglade-WARNING **: unknown property
`focus_on_map' for class `GtkWindow'

(testMPL-GTK.py:12685): libglade-WARNING **: unknown property
`ellipsize' for class `GtkLabel'
...

I then click on the 'graph' Tab and the 'make graph!' button and get:
Traceback (most recent call last):
  File "testMPL-GTK.py", line 55, in createProjectGraph
    p1 = self.axis.bar(ind, int(age), width, color='r')
ValueError: invalid literal for int():


Do you think this is a gtk.Notebook problem or a matplotlib
FigureCanvasGTK widget problem?
If its a FigureCanvasGTK problem then you should be able to forget about
the gtk.Notebook and run
matplotlib/examples/embedding_in_gtk.py, or 
matplotlib/examples/embedding_in_gtk2.py and demonstrate the problem.

Try running embedding_in_gtk.py and moving another window partly in
front of it, then click the embedding_in_gtk window to bring it back on
top - does the window get redrawn?

I can verify that on PyGTK 2.4 on Linux it works fine.
Could you test it on PyGTK 2.6, and also report the operating system you
are using.

Steve

Send instant messages to your online friends http://au.messenger.yahoo.com 
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to