- assigned_to: dgil --> nobody
Graph View - Unicode error when start in french language for months with letter "é"
And also problem with legendw
C:\Python27\lib\site-packages\matplotlib\legend.py:610: UserWarning: Legend doe
not support [<matplotlib.lines.Line2D object at 0x041DF9F0>]
Use proxy artist instead.
http://matplotlib.sourceforge.net/users/legend_guide.html#using-proxy-artist
warnings.warn("Legend does not support %s\nUse proxy artist instead.\n\nhttp:
/matplotlib.sourceforge.net/users/legend_guide.html#using-proxy-artist\n" % (st
(orig_handle),))
C:\Python27\lib\site-packages\matplotlib\legend.py:610: UserWarning: Legend doe
not support [<matplotlib.lines.Line2D object at 0x041DF390>]
Use proxy artist instead.
http://matplotlib.sourceforge.net/users/legend_guide.html#using-proxy-artist
warnings.warn("Legend does not support %s\nUse proxy artist instead.\n\nhttp:
/matplotlib.sourceforge.net/users/legend_guide.html#using-proxy-artist\n" % (st
(orig_handle),))
C:\Python27\lib\site-packages\matplotlib\legend.py:610: UserWarning: Legend doe
not support [<matplotlib.lines.Line2D object at 0x041DF6B0>]
Use proxy artist instead.
http://matplotlib.sourceforge.net/users/legend_guide.html#using-proxy-artist
warnings.warn("Legend does not support %s\nUse proxy artist instead.\n\nhttp:
/matplotlib.sourceforge.net/users/legend_guide.html#using-proxy-artist\n" % (st
(orig_handle),))
C:\Python27\lib\site-packages\matplotlib\legend.py:610: UserWarning: Legend doe
not support [<matplotlib.lines.Line2D object at 0x0424BB50>]
Use proxy artist instead.
http://matplotlib.sourceforge.net/users/legend_guide.html#using-proxy-artist
warnings.warn("Legend does not support %s\nUse proxy artist instead.\n\nhttp:
/matplotlib.sourceforge.net/users/legend_guide.html#using-proxy-artist\n" % (st
(orig_handle),))
C:\Python27\lib\site-packages\matplotlib\legend.py:610: UserWarning: Legend doe
not support [<matplotlib.lines.Line2D object at 0x0424B3B0>]
Use proxy artist instead.
http://matplotlib.sourceforge.net/users/legend_guide.html#using-proxy-artist
warnings.warn("Legend does not support %s\nUse proxy artist instead.\n\nhttp:
/matplotlib.sourceforge.net/users/legend_guide.html#using-proxy-artist\n" % (st
(orig_handle),))
C:\Python27\lib\site-packages\matplotlib\legend.py:610: UserWarning: Legend doe
not support [<matplotlib.lines.Line2D object at 0x0424B6F0>]
Use proxy artist instead.
http://matplotlib.sourceforge.net/users/legend_guide.html#using-proxy-artist
warnings.warn("Legend does not support %s\nUse proxy artist instead.\n\nhttp:
/matplotlib.sourceforge.net/users/legend_guide.html#using-proxy-artist\n" % (st
(orig_handle),))
OnPaint: (654, 420)
Traceback (most recent call last):
File "c:\itrade\itrade_wxgraph.py", line 522, in _onPaint
FigureCanvas._onPaint(self,event)
File "C:\Python27\lib\site-packages\matplotlib\backends\backend_wx.py", line
194, in _onPaint
self.draw(drawDC=drawDC)
File "C:\Python27\lib\site-packages\matplotlib\backends\backend_wxagg.py", li
e 59, in draw
FigureCanvasAgg.draw(self)
File "C:\Python27\lib\site-packages\matplotlib\backends\backend_agg.py", line
401, in draw
self.figure.draw(self.renderer)
File "C:\Python27\lib\site-packages\matplotlib\artist.py", line 55, in draw_w
apper
draw(artist, renderer, *args, **kwargs)
File "C:\Python27\lib\site-packages\matplotlib\figure.py", line 884, in draw
func(*args)
File "C:\Python27\lib\site-packages\matplotlib\artist.py", line 55, in draw_w
apper
draw(artist, renderer, *args, **kwargs)
File "C:\Python27\lib\site-packages\matplotlib\axes.py", line 1983, in draw
a.draw(renderer)
File "C:\Python27\lib\site-packages\matplotlib\artist.py", line 55, in draw_w
apper
draw(artist, renderer, *args, **kwargs)
File "C:\Python27\lib\site-packages\matplotlib\axis.py", line 1036, in draw
ticks_to_draw = self._update_ticks(renderer)
File "C:\Python27\lib\site-packages\matplotlib\axis.py", line 926, in _update
ticks
tick_tups = [ t for t in self.iter_ticks()]
File "C:\Python27\lib\site-packages\matplotlib\axis.py", line 876, in iter_ti
ks
majorLabels = [self.major.formatter(val, i) for i, val in enumerate(majorLo
s)]
File "C:\Python27\lib\site-packages\matplotlib\dates.py", line 422, in __call
_
return cbook.unicode_safe(dt.strftime(self.fmt))
File "C:\Python27\lib\site-packages\matplotlib\cbook.py", line 40, in unicode
safe
if preferredencoding is None: return unicode(s)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 4: ordinal
not in range(128)