On 10/5/06, Hanno Klemm <[EMAIL PROTECTED]> wrote: > > Hi, I think I might have discovered a bug: > > On python 2.5 with the gtk backend and matplotlib 0.87.6 the following > happens: > > >>> plot([1,2,3],'ko') > [<matplotlib.lines.Line2D instance at 0x2a9ed68638>] > >>> show() > Traceback (most recent call last): > File > "/glb/apps/python2.5/lib/python2.5/site-packages/matplotlib/backends/backend_gtk.py", > line 284, in expose_event > self._render_figure(self._pixmap, w, h) > File > "/glb/apps/python2.5/lib/python2.5/site-packages/matplotlib/backends/backend_gtk.py", > line 272, in _render_figure > self.figure.draw (self._renderer) > File > "/glb/apps/python2.5/lib/python2.5/site-packages/matplotlib/figure.py", > line 545, in draw > for a in self.axes: a.draw(renderer) > File > "/glb/apps/python2.5/lib/python2.5/site-packages/matplotlib/axes.py", > line 1067, in draw > a.draw(renderer) > File > "/glb/apps/python2.5/lib/python2.5/site-packages/matplotlib/lines.py", > line 379, in draw > markerFunc(renderer, gc, xt, yt) > File > "/glb/apps/python2.5/lib/python2.5/site-packages/matplotlib/lines.py", > line 618, in _draw_circle > x, y, w, w, 0.0, 360.0, 0.0) > File > "/glb/apps/python2.5/lib/python2.5/site-packages/matplotlib/backends/backend_gdk.py", > line 97, in draw_arc > self.gdkDrawable.draw_arc(gc.gdkGC, True, x, y, w, h, a1, a2, > rotation) > TypeError: GdkDrawable.draw_arc() takes exactly 8 arguments (9 given) > > Any hints what is happening there?
This bug was my fault. I added an extra argument for rotated ellipsis. I fixed it in svn. Just remove the rotation arg from the line of interest for a fix. - Charlie ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users