Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a710cbd

Browse files
author
pkienzle
committed
Remove unnecessary 'import math' from inellipse()
svn path=/trunk/matplotlib/; revision=3603
1 parent 91c1491 commit a710cbd

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

lib/matplotlib/patches.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,6 @@ def __init__(self, xy, radius=5,
736736

737737

738738
def inellipse(x,y,cx,cy,a,b,angle):
739-
import math
740739
x,y = x-cx,y-cy
741740
theta = math.atan2(x,y) + math.radians(angle)
742741
rsq = x*x+y*y

0 commit comments

Comments
 (0)