From: Steve C. <ste...@ya...> - 2004-06-11 13:24:21
|
On Fri, 2004-06-11 at 19:22, John Hunter wrote: > Steve> For the last week or so I've been unable to use the GTK+ > Steve> backend with matplotlib (and PyGTK) from CVS. Instead of > Steve> producing a plot it colors the whole figure black. I think > Steve> this may be a colormap problem. > > >From your post to the pygtk list, I assume you are using PyGTK 2.3.93. > Unfortunately I don't have a good platform to test this version on > since my system doesn't have the required glib/gtk version and I have > learned from past experience not to try and upgrade these libs. > 0.54.2 with the GTK backend runs fine with pygtk-2.2 on my system. > > A couple of questions > > * can you run matplotlib-0.54.1 on your current version of pygtk. > This will help me figure out if something in matplotlib has changed > or if something on your system has changed. The GTK backend is > fairly stable at this point so not a lot has changed. > > * Can you run matplotlib-0.54.2 with pygtk2.2 on your system? > > If there is a 2.3.93 specific problem, we'll need to get it worked > out, but I'd like to narrow the field of candidate problems first. > > JDH I've just ran lots of tests: Matplotlib PyGTK GTK+ backend ---------- ----- ------------ 0.54.1 2.2.0 working 0.54.2 2.2.0 working cvs 2.2.0 working 0.54.1 cvs(2.3.93) fails (the figure is all black) 0.54.2 cvs(2.3.93) fails cvs cvs(2.3.93) fails It must be a PyGTK bug. Strangely enough I opened a PyGTK bug report today (#144135), which turns out to be serious bug - a 'stopper' for PyGTK 2.4. It may also be causing this problem with matplotlib. Hopefully it will be fixed soon and if it doesn't fix this problem running matplotlib I'll open another PyGTK bug report. Steve |