Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2942a43

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

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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)