Skip to content

Commit bcae715

Browse files
authored
Merge pull request #13140 from anntzer/testwarning
Remove an "cannot show figure in agg" warning in test suite.
2 parents 3191099 + addc568 commit bcae715

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/mpl_toolkits/tests/test_axisartist_axislines.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,8 @@ def test_Axes():
5151
ax = Axes(fig, [0.15, 0.1, 0.65, 0.8])
5252
fig.add_axes(ax)
5353
ax.plot([1, 2, 3], [0, 1, 2])
54-
5554
ax.set_xscale('log')
56-
57-
plt.show()
55+
fig.canvas.draw()
5856

5957

6058
@image_comparison(baseline_images=['ParasiteAxesAuxTrans_meshplot'],

0 commit comments

Comments
 (0)