Matplotlib Polar Plot Angles/Axes

afrogazer justin.kuto at
Fri Sep 26 23:46:21 CEST 2008

On Sep 26, 4:42 pm, Bas <wegw... at> wrote:
> On Sep 26, 10:33 pm, afrogazer <justin.k... at> wrote:> rad_angles = [elem*(pi/180) for elem in angles]
> You are missing some more on a friday afternoon: angles is created by
> arange, so it is a numpy array. In that case you simply can do
> rad_angles = pi/180 * angles
> No need to use list-comprehensions, that is the whole idea about using
> these kick-ass objects!
> Bas

Thanks! Should have thought of that, Fridays are a drag.

More information about the Python-list mailing list