polar plot fills entire plot while drawing line, bug or feature?

Hi, I'm new to matplotlib and in need to draw a single impulse on a polar
plot, but don't know how to do it, so i just draw a line using
pylab.polar([0,0],[0,100],'g-')
but when i draw shorter lines or
pylab.polar([0,0],[0,0],'g-')
i get the whole plot filled with green color, instead of a single dot or a
very short line
does anyone else has similar issue? is this a bug or a feature that i can
turned off somewhere?
i'm using ubuntu.

Thank you for any help

···


View this message in context: http://www.nabble.com/polar-plot-fills-entire-plot-while-drawing-line%2C-bug-or-feature--tp24840620p24840620.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

azerith wrote:

Hi, I'm new to matplotlib and in need to draw a single impulse on a polar
plot, but don't know how to do it, so i just draw a line using
pylab.polar([0,0],[0,100],'g-')
but when i draw shorter lines or pylab.polar([0,0],[0,0],'g-')
i get the whole plot filled with green color, instead of a single dot or a
very short line
does anyone else has similar issue? is this a bug or a feature that i can
turned off somewhere?
i'm using ubuntu.

Thank you for any help

It's a bug. You probably have quite an old version of mpl. A shiny new version was just released, and if you can install it in place of the ubuntu package, that particular bug will go away.

Eric