8000 Fixed typo · matplotlib/matplotlib@ddb7798 · GitHub
[go: up one dir, main page]

Skip to content

Commit ddb7798

Browse files
committed
Fixed typo
1 parent ecdaa8e commit ddb7798

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/patches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ def __init__(self, x, y, dx, dy, width=1.0, **kwargs):
10491049
%(Patch)s
10501050
"""
10511051
Patch.__init__(self, **kwargs)
1052-
L = ny.hypot(dx, dy)
1052+
L = np.hypot(dx, dy)
10531053

10541054
if L != 0:
10551055
cx = float(dx) / L

0 commit comments

Comments
 (0)
0