Hi,
I am getting errors any time I try to plot with markers for the points
(using the GTKAgg backend). My SVN repo copy has a lot of my own
changes in it, but I don't think these errors are associated with those
changes. Can someone confirm this is a bug? Example below.
Thanks,
David
In [16]: clf(),plot([1,2],[1,2],'--')
Out[16]: (None, [<matplotlib.lines.Line2D object at 0x9522d4c>])
In [17]: clf(),plot([1,2],[1,2],'--o')
···
------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python2.5/site-packages/matplotlib/backends/backend_gtk.py",
line 333, in expose_event
self._render_figure(self._pixmap, w, h)
File
"/usr/lib/python2.5/site-packages/matplotlib/backends/backend_gtkagg.py", line 75, in _render_figure
FigureCanvasAgg.draw(self)
File
"/usr/lib/python2.5/site-packages/matplotlib/backends/backend_agg.py",
line 261, in draw
self.figure.draw(self.renderer)
File "/usr/lib/python2.5/site-packages/matplotlib/figure.py", line
759, in draw
for a in self.axes: a.draw(renderer)
File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line 1525,
in draw
a.draw(renderer)
File "/usr/lib/python2.5/site-packages/matplotlib/lines.py", line 439,
in draw
markerFunc(renderer, gc, tpath, affine.frozen())
File "/usr/lib/python2.5/site-packages/matplotlib/lines.py", line 752,
in _draw_circle
rgbFace)
<type 'exceptions.ValueError'>: Codes array is wrong length
Out[17]: (None, [<matplotlib.lines.Line2D object at 0x95b1dcc>])
--
**********************************
David M. Kaplan
Charge de Recherche 1
Institut de Recherche pour le Developpement
Centre de Recherche Halieutique Mediterraneenne et Tropicale
av. Jean Monnet
B.P. 171
34203 Sete cedex
France
Phone: +33 (0)4 99 57 32 27
Fax: +33 (0)4 99 57 32 95
http://www.ur097.ird.fr/team/dkaplan/index.html
**********************************