From: John H. <jd...@gm...> - 2009-08-07 15:34:24
|
On Fri, Aug 7, 2009 at 7:47 AM, Bernd Eggink<mo...@su...> wrote: >> Christoph, is GTKAgg the default backend in the win32 installers? It >> should be TkAgg. Are you creating a setp.cfg when you build your >> installer, as described at Reminder to self: do not post before morning coffee. For some reason I thought you were on windows using on of Christoph's windows installers. Christoph, feel free to ignore this thread. > Platform is 'linux2', and gtk.pygtk_version is (2, 14, 1). > > To get it working, I replaced matplotlib.svg by a link to matplotlib.png > (which is pretty ugly, though). Maybe the error should be catched and > the .png image used as a fallback. Unfortunately, the exception glib.GError is gtk version dependent so I can't easily catch it. I am loathe to do a blanket except catch, but I am not sure what the alternative is here. JDH |