Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit addc568

Browse filesBrowse files
committed
Remove an "cannot show figure in agg" warning in test suite.
Run `pytest lib/mpl_toolkits/tests/test_axisartist_axislines.py::test_Axes` to see it.
1 parent 6c0bc66 commit addc568
Copy full SHA for addc568

File tree

Expand file treeCollapse file tree

1 file changed

+1
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-3
lines changed

‎lib/mpl_toolkits/tests/test_axisartist_axislines.py

Copy file name to clipboardExpand all lines: lib/mpl_toolkits/tests/test_axisartist_axislines.py
+1-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.