From: John H. <jdh...@ac...> - 2004-07-19 15:50:23
|
>>>>> "Darren" == Darren Dale <dd...@co...> writes: Darren> Hi Everyone, I'm having trouble saving plot images with Darren> the *Agg backends. I've tried TkAgg, GTKAgg, WXAgg, and Darren> get the following error message (here for WXAgg): Darren> Do not know how to handle extension *.jpg 14:48:54 Debug Darren> e:\Projects\wx2.4\src\msw\app.cpp(439): Darren> 'UnregisterClass(canvas)' failed with error 0x00000584 Darren> (class still has open windows) Darren> WX and GTK backends work. I'm using the precompiled 0.60.2 Darren> version of Matplotlib (congratulations on the new Darren> release), python 2.3.4, windows XP. I'm calling my program Darren> from a DOS prompt to get the error messages, working in Darren> non-interactive mode and trying to save the image using Darren> the save-button widget. The agg backend can only save png, ps, eps, and svg. jpeg is available from backend_wx and backend_gtk. Personally, I've never encountered a figure for which jpeg was a better output format than png, which is why I haven't worked to provide a jpeg output to agg, but it would be a good thing to add, at some point. Cheers, JDH |