[matplotlib-devel] unicode bug in backend_agg.py

2008-01-16 Thread Gurzó Péter
hi i use python 2.5.1, wx-2.8-msw-unicode and matplotlib-0.91.1.win32-py2.5 package. the problem is that the wx.FileDialog return with an unicode string and the self.get_renderer()._renderer.write_png() will throw an exception: TypeError: cannot return std::string from Unicode object stack

Re: [matplotlib-devel] unicode bug in backend_agg.py

2008-01-16 Thread John Hunter
On Jan 2, 2008 12:53 PM, Gurzó Péter [EMAIL PROTECTED] wrote: i think in print_png we must use str(filename) as we do it in print_raw, not filename. Added in maintenance branch and trunk -- thanks. JDH - This SF.net