I'm getting a unicodeescape error importing matplotlib in the IPython 
notebook interface.  The traceback is shown below.  Annotate states that 
https://github.com/matplotlib/matplotlib/commit/bd71341ff645e1e4eb7470a5d2a5541e73bf6d5f
 
introduced the changes to __init__.py which appears to have instigated 
the error.  I was able to import matplotlib 1.3.1 in the IPython 
notebook.  This traceback is appearing for me in both IPython 1.0.0 and 
1.1.0.  I'm on win32 32-bit.  I would appreciate feedback on whether 
this is a real regression or something on my system.

import matplotlib

---------------------------------------------------------------------------
UnicodeDecodeError                        Traceback (most recent call last)
<ipython-input-1-82be63b7783c> in <module>()
----> 1 import matplotlib

C:\Python27\lib\site-packages\matplotlib\__init__.py in <module>()
--> 240 class Verbose:
C:\Python27\lib\site-packages\matplotlib\__init__.py in Verbose()
--> 252     for arg in map(six.u, sys.argv[1:]):
C:\Python27\lib\site-packages\six.pyc in u(s)
--> 468         return unicode(s, "unicode_escape")
UnicodeDecodeError: 'unicodeescape' codec can't decode bytes in position 
2-3: truncated \UXXXXXXXX escape

Thanks,
Joel


------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to