8000 ENH: make test plot some lines · matplotlib/matplotlib@2942a43 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2942a43

Browse files
committed
ENH: make test plot some lines
1 parent f0a7a81 commit 2942a43

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/tests/test_backends_interactive.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ def _get_testable_interactive_backends():
4141
from matplotlib import pyplot as plt
4242
4343
fig = plt.figure()
44+
ax = fig.add_subplot(111)
45+
ax.plot([1,2,3], [1,3,1])
4446
fig.canvas.mpl_connect("draw_event", lambda event: sys.exit())
4547
plt.show()
4648
"""

0 commit comments

Comments
 (0)
0