Skip to content

Commit 383e256

Browse files
committed
Add missing module to plt.subplots call.
1 parent 712116b commit 383e256

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1477,8 +1477,8 @@ def _as_mpl_axes(self):
14771477
plt.close()
14781478

14791479
# test focusing of Axes in other Figure
1480-
fig1, ax1 = subplots()
1481-
fig2, ax2 = subplots()
1480+
fig1, ax1 = plt.subplots()
1481+
fig2, ax2 = plt.subplots()
14821482
assert ax1 is plt.axes(ax1)
14831483
assert ax1 is plt.gca()
14841484
assert fig1 is plt.gcf()

0 commit comments

Comments
 (0)