From: Humufr <hu...@ya...> - 2005-02-24 20:48:31
|
the marker 'x' (ex: plot(a,b,'bx',markersize=5) are not working anymore (at least version 0.72.1 and cvs) with Agg backend (and TkAgg and GTKAgg). With PS backend it's ok. The error message is: Traceback (most recent call last): File "/astro/homes/gruel/usr/local//lib/python2.4/lib-tk/Tkinter.py", line 1345, in __call__ return self.func(*args) File "/astro/homes/gruel/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_tkagg.py", line 140, in resize self.show() File "/astro/homes/gruel/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_tkagg.py", line 143, in draw FigureCanvasAgg.draw(self) File "/astro/homes/gruel/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_agg.py", line 319, in draw self.figure.draw(self.renderer) File "/astro/homes/gruel/usr/local/lib/python2.4/site-packages/matplotlib/figure.py", line 338, in draw for a in self.axes: a.draw(renderer) File "/usr/local/lib/python2.4/site-packages/matplotlib/axes.py", line 1296, in draw a.draw(renderer) File "/usr/local/lib/python2.4/site-packages/matplotlib/lines.py", line 294, in draw markerFunc(renderer, gc, xt, yt) File "/usr/local/lib/python2.4/site-packages/matplotlib/lines.py", line 1044, in _draw_x renderer.draw_line(gc, x-offset, y-offset, x+offset, y+offset) File "/usr/local/lib/python2.4/site-packages/matplotlib/backends/backend_agg.py", line 155, in draw_line self._renderer.draw_lines(gc, x, y) IndexError: Unexpected SeqBase<T> length. thanks. |