8000 Minor cleanup of test as suggested by @gsever · matplotlib/matplotlib@f7be4f4 · GitHub
[go: up one dir, main page]

Skip to content

Commit f7be4f4

Browse files
committed
Minor cleanup of test as suggested by @gsever
1 parent 7232c7f commit f7be4f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/tests/test_simplification.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ def test_clipping_with_nans():
220220

221221
fig = plt.figure()
222222
ax = fig.add_subplot(111)
223-
plt.plot(x, y)
224-
plt.ylim(-0.25, 0.25)
223+
ax.plot(x, y)
224+
ax.set_ylim(-0.25, 0.25)
225225

226226

227227
if __name__=='__main__':

0 commit comments

Comments
 (0)
0