Skip to content

Commit 1d904e3

Browse files
committed
fix typo
Signed-off-by: Thomas Hisch <t.hisch@gmail.com>
1 parent cb154e5 commit 1d904e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/api/custom_scale_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def inverted(self):
158158
import matplotlib.pyplot as plt
159159

160160
t = np.arange(-180.0, 180.0, 0.1)
161-
s = np.radius(t)/2.
161+
s = np.radians(t)/2.
162162

163163
plt.plot(t, s, '-', lw=2)
164164
plt.gca().set_yscale('mercator')

0 commit comments

Comments
 (0)