Are you sure you built pylab correctly? See if you can find something suspicious in the build dialog. I had this error once a long time ago, but at some point since then a rebuild of everything fixed it. In the mean time, using savefig will still work even if the GUI button doesn't.
Josh On Sat, Apr 12, 2008 at 11:41 AM, Gideon Simpson <[EMAIL PROTECTED]> wrote: > For some reason when trying to save in PNG format on OS X 10.5.2, a > window pops up with the error: > > Matplotlib backend_wx error > cannot return std::string from Unicode object > > > This is with the simple scipy demo at > http://www.scipy.org/Cookbook/OptimizationDemo1 > > > Gideon Simpson > Department of Applied Physics & Applied Mathematics > Columbia University > [EMAIL PROTECTED] > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users