You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(33) |
Dec
(20) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(7) |
Feb
(44) |
Mar
(51) |
Apr
(43) |
May
(43) |
Jun
(36) |
Jul
(61) |
Aug
(44) |
Sep
(25) |
Oct
(82) |
Nov
(97) |
Dec
(47) |
2005 |
Jan
(77) |
Feb
(143) |
Mar
(42) |
Apr
(31) |
May
(93) |
Jun
(93) |
Jul
(35) |
Aug
(78) |
Sep
(56) |
Oct
(44) |
Nov
(72) |
Dec
(75) |
2006 |
Jan
(116) |
Feb
(99) |
Mar
(181) |
Apr
(171) |
May
(112) |
Jun
(86) |
Jul
(91) |
Aug
(111) |
Sep
(77) |
Oct
(72) |
Nov
(57) |
Dec
(51) |
2007 |
Jan
(64) |
Feb
(116) |
Mar
(70) |
Apr
(74) |
May
(53) |
Jun
(40) |
Jul
(519) |
Aug
(151) |
Sep
(132) |
Oct
(74) |
Nov
(282) |
Dec
(190) |
2008 |
Jan
(141) |
Feb
(67) |
Mar
(69) |
Apr
(96) |
May
(227) |
Jun
(404) |
Jul
(399) |
Aug
(96) |
Sep
(120) |
Oct
(205) |
Nov
(126) |
Dec
(261) |
2009 |
Jan
(136) |
Feb
(136) |
Mar
(119) |
Apr
(124) |
May
(155) |
Jun
(98) |
Jul
(136) |
Aug
(292) |
Sep
(174) |
Oct
(126) |
Nov
(126) |
Dec
(79) |
2010 |
Jan
(109) |
Feb
(83) |
Mar
(139) |
Apr
(91) |
May
(79) |
Jun
(164) |
Jul
(184) |
Aug
(146) |
Sep
(163) |
Oct
(128) |
Nov
(70) |
Dec
(73) |
2011 |
Jan
(235) |
Feb
(165) |
Mar
(147) |
Apr
(86) |
May
(74) |
Jun
(118) |
Jul
(65) |
Aug
(75) |
Sep
(162) |
Oct
(94) |
Nov
(48) |
Dec
(44) |
2012 |
Jan
(49) |
Feb
(40) |
Mar
(88) |
Apr
(35) |
May
(52) |
Jun
(69) |
Jul
(90) |
Aug
(123) |
Sep
(112) |
Oct
(120) |
Nov
(105) |
Dec
(116) |
2013 |
Jan
(76) |
Feb
(26) |
Mar
(78) |
Apr
(43) |
May
(61) |
Jun
(53) |
Jul
(147) |
Aug
(85) |
Sep
(83) |
Oct
(122) |
Nov
(18) |
Dec
(27) |
2014 |
Jan
(58) |
Feb
(25) |
Mar
(49) |
Apr
(17) |
May
(29) |
Jun
(39) |
Jul
(53) |
Aug
(52) |
Sep
(35) |
Oct
(47) |
Nov
(110) |
Dec
(27) |
2015 |
Jan
(50) |
Feb
(93) |
Mar
(96) |
Apr
(30) |
May
(55) |
Jun
(83) |
Jul
(44) |
Aug
(8) |
Sep
(5) |
Oct
|
Nov
(1) |
Dec
(1) |
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(3) |
Sep
(1) |
Oct
(3) |
Nov
|
Dec
|
2017 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
(7) |
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1
|
2
(3) |
3
(3) |
4
|
5
(2) |
6
(7) |
7
(1) |
8
|
9
|
10
|
11
(1) |
12
|
13
(1) |
14
(1) |
15
|
16
(2) |
17
|
18
|
19
|
20
(3) |
21
(1) |
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
31
(2) |
|
|
|
|
I'll bring this to @minrk's attention in the original issue (#2534) Mike On 12/06/2013 02:20 PM, Thomas Kluyver wrote: > On 6 December 2013 10:37, Joel B. Mohler <jm...@ga... > <mailto:jm...@ga...>> wrote: > > It seems to me that this changeset needs to be rolled back, but I > don't clearly see the problem that it was intended to fix. > > > I assume that someone wanted to work with the arguments as text (i.e. > unicode) strings. A robust way to do this would be something like the > str_to_unicode function we have in IPython - it's a no-op on Python 3, > and does a robust decode (using errors='replace') on Python 2. > > Thomas > > > ------------------------------------------------------------------------------ > 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel -- _ |\/|o _|_ _. _ | | \.__ __|__|_|_ _ _ ._ _ | ||(_| |(_|(/_| |_/|(_)(/_|_ |_|_)(_)(_)| | | http://www.droettboom.com
On 6 December 2013 10:37, Joel B. Mohler <jm...@ga...> wrote: > It seems to me that this changeset needs to be rolled back, but I don't > clearly see the problem that it was intended to fix. > I assume that someone wanted to work with the arguments as text (i.e. unicode) strings. A robust way to do this would be something like the str_to_unicode function we have in IPython - it's a no-op on Python 3, and does a robust decode (using errors='replace') on Python 2. Thomas
On 12/6/2013 12:45 PM, Thomas Kluyver wrote: > On 6 December 2013 04:55, Joel B. Mohler <jm...@ga... > <mailto:jm...@ga...>> wrote: > > 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 > > > I'll bet that one of the arguments starts with C:\Users. It looks like > six.u() can't be applied to arbitrary input (it's intended for literals). Indeed, I suspect you are exactly right. After pondering the transcript below, I think it is bad idea to apply six.u to any sort of relatively unknown input. In any case, I believe this effectively breaks matplotlib in the IPython notebook on windows and other very simple things. Behold: C:\>python -c "import matplotlib" any_old_thing_with_\u_in_it Traceback (most recent call last): File "<string>", line 1, in <module> File "c:\python27\lib\site-packages\matplotlib\__init__.py", line 240, in <module> class Verbose: File "c:\python27\lib\site-packages\matplotlib\__init__.py", line 252, in Verbose for arg in map(six.u, sys.argv[1:]): File "c:\python27\lib\site-packages\six.py", line 468, in u return unicode(s, "unicode_escape") UnicodeDecodeError: 'unicodeescape' codec can't decode bytes in position 19-20: truncated \uXXXX escape It seems to me that this changeset needs to be rolled back, but I don't clearly see the problem that it was intended to fix. Joel
On 6 December 2013 04:55, Joel B. Mohler <jm...@ga...> wrote: > 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 > I'll bet that one of the arguments starts with C:\Users. It looks like six.u() can't be applied to arbitrary input (it's intended for literals). Thomas
If you have Cairo installed and the matplotlib Cairo backend you could try to test the pdfs generated with this backend to see if they suffer from the same issue. i.e. add ``` import matplotlib matplotlib.use("cairo") ``` to the top of your script. Depending on where the bug is this may or may not give the same issue. /Jens On Fri, Dec 6, 2013 at 10:22 AM, buckeliger <buc...@gm...> wrote: > Thank you for your reply. I am travelling these days and will try to > generate > a stripped down input data file out of the 12 large hdf5 files. However I > find it still very curious that with the same input files, plotting simply > read out data plotting works > > http://ubuntuone.com/50q1yVOKjdmhfqpQljUwW8 > > but when I process the data (I mask bins and calculate means within) the > mentioned problem occurs (same file as in stackoverflow) > > http://ubuntuone.com/0kuZIKYeZQyGckE5jonPy6 > > so to me it seems reasonable to assume it is actually related to the > computational effort involved. The script for the latter plot takes approx. > 30min on a quite fast machine, while upper plot takes no more than 15sec. > > Anyhow, next week I will work on the stripped down data and share what I > get. > > > > -- > View this message in context: > http://matplotlib.1069221.n5.nabble.com/PDF-not-readable-by-Adobe-PDF-readers-tp42580p42595.html > Sent from the matplotlib - devel mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel >
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