From: <md...@us...> - 2007-12-17 18:29:10
|
Revision: 4761 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4761&view=rev Author: mdboom Date: 2007-12-17 10:29:04 -0800 (Mon, 17 Dec 2007) Log Message: ----------- Minor speed improvement Modified Paths: -------------- branches/transforms/lib/matplotlib/projections/polar.py Modified: branches/transforms/lib/matplotlib/projections/polar.py =================================================================== --- branches/transforms/lib/matplotlib/projections/polar.py 2007-12-17 18:28:03 UTC (rev 4760) +++ branches/transforms/lib/matplotlib/projections/polar.py 2007-12-17 18:29:04 UTC (rev 4761) @@ -310,7 +310,7 @@ ACCEPTS: sequence of floats """ angles = npy.asarray(angles, npy.float_) - self.set_xticks((angles / 180.0) * npy.pi) + self.set_xticks(angles * (npy.pi / 180.0)) if labels is not None: self.set_xticklabels(labels) if frac is not None: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |