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

Skip to content

Commit 32c3317

Browse files
committed
fix typo in np.arange (legend tests)
1 parent 92ac268 commit 32c3317

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/matplotlib/tests/test_legend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ def test_various_labels():
5757
# tests all sorts of label types
5858
fig = plt.figure()
5959
ax = fig.add_subplot(121)
60-
ax.plot(np.arage(4), 'o', label=1)
60+
ax.plot(np.arange(4), 'o', label=1)
6161
ax.plot(np.linspace(4, 4.1), 'o', label='D\xe9velopp\xe9s')
62-
ax.plot(np.arage(4, 1, -1), 'o', label='__nolegend__')
62+
ax.plot(np.arange(4, 1, -1), 'o', label='__nolegend__')
6363
ax.legend(numpoints=1, loc=0)
6464

6565

0 commit comments

Comments
 (0)