John Hunter wrote: > On Sat, Jul 26, 2008 at 6:26 PM, John Hunter <[EMAIL PROTECTED]> wrote: > > >>> stix_fonts_demo: error >>> UnicodeDecodeError: 'rawunicodeescape' codec can't decode >>> bytes in position 39-0: \Uxxxxxxxx out of range >>> > > I'm pretty sure this is the result of a python build that does not > have support for wide unicode characters (this is a build time > configuration issue). It is not really an mpl bug, but I am going to > comment out the wide unicode line and add the example the > backend_driver (Michael, is there a way to check and see if the python > build has support for wide unicode at runtime so this line is included > conditionally?) > One can use sys.maxunicode. I've added a check to stix_fonts_demo.py > >>> symlog_demo: rendering causes the following error >>> File >>> "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/transforms.py", >>> line 1072, in transform_point >>> assert len(point) == self.input_dims >>> > > I created a ticket on sf > (http://sourceforge.net/tracker/index.php?func=detail&aid=2029141&group_id=80706&atid=560720) > and assigned it to Michael since this is his baby. I also added the > demo to backend driver (currently failing) Thanks. Your fix mentioned in the bug report looks fine. The reason it broke is pretty subtle but I think that's right. I'll close the bug.
Cheers, Mike -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel