SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] updated artist contains methods

From: Michael D. <md...@st...> - 2008年07月31日 14:45:24
John Hunter wrote:
> On Sat, Jul 26, 2008 at 6:26 PM, John Hunter <jd...@gm...> 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

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /