From: <pki...@us...> - 2007-07-21 23:30:25
|
Revision: 3603 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3603&view=rev Author: pkienzle Date: 2007-07-21 16:30:03 -0700 (Sat, 21 Jul 2007) Log Message: ----------- Remove unnecessary 'import math' from inellipse() Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/patches.py Modified: trunk/matplotlib/lib/matplotlib/patches.py =================================================================== --- trunk/matplotlib/lib/matplotlib/patches.py 2007-07-21 19:28:34 UTC (rev 3602) +++ trunk/matplotlib/lib/matplotlib/patches.py 2007-07-21 23:30:03 UTC (rev 3603) @@ -736,7 +736,6 @@ def inellipse(x,y,cx,cy,a,b,angle): - import math x,y = x-cx,y-cy theta = math.atan2(x,y) + math.radians(angle) rsq = x*x+y*y This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |