Skip to content

Commit 2fa64ad

Browse files
committed
Move pyplot.axes test to a dedicated function.
1 parent 383e256 commit 2fa64ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1476,6 +1476,8 @@ def _as_mpl_axes(self):
14761476
'Expected a PolarAxesSubplot, got %s' % type(ax)
14771477
plt.close()
14781478

1479+
1480+
def test_pyplot_axes():
14791481
# test focusing of Axes in other Figure
14801482
fig1, ax1 = plt.subplots()
14811483
fig2, ax2 = plt.subplots()

0 commit comments

Comments
 (0)