Public bug reported: When plotting line with the linetype 'o' the expected result is to plot circle at each dots in the graph. The result is an error message : ( I write only the last message as it is the useful one) -------------------------------------------------------------------------------- File "/usr/lib/python2.4/site-packages/matplotlib/lines.py", line 618, in _draw_circle x, y, w, w, 0.0, 360.0, 0.0) TypeError: draw_arc() takes exactly 9 arguments (10 given) ---------------------------------------------------------------------------------
The solution is to edit this file and change in the line > renderer.draw_arc(gc, rgbFace, > x, y, w, w, 0.0, 360.0, 0.0) by < renderer.draw_arc(gc, rgbFace, < x, y, w, w, 0.0, 360.0) so, just erase the last digit (0.0) and it seems to work. Version affected : matplotlib 0.87.5-2ubuntu1 See you, Charles ** Affects: matplotlib (Ubuntu) Importance: Undecided Status: Unconfirmed ** Description changed: When plotting line with the linetype 'o' the expected result is to plot circle at each dots in the graph. The result is an error message : ( I write only the last message as it is the useful one) -------------------------------------------------------------------------------- File "/usr/lib/python2.4/site-packages/matplotlib/lines.py", line 618, in _draw_circle x, y, w, w, 0.0, 360.0, 0.0) TypeError: draw_arc() takes exactly 9 arguments (10 given) --------------------------------------------------------------------------------- The solution is to edit this file and change in the line > renderer.draw_arc(gc, rgbFace, > x, y, w, w, 0.0, 360.0, 0.0) by < renderer.draw_arc(gc, rgbFace, < x, y, w, w, 0.0, 360.0) so, just erase the last digit (0.0) and it seems to work. + Version affected : matplotlib 0.87.5-2ubuntu1 + See you, Charles -- plot line with lineType='o' https://launchpad.net/bugs/68804 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs