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.
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins