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 c3cb882

Browse filesBrowse files
dmcdougalltacaswell
authored andcommitted
Add figure close test for qt4 backend
1 parent 35204ed commit c3cb882
Copy full SHA for c3cb882

File tree

Expand file treeCollapse file tree

1 file changed

+10
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+10
-0
lines changed
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from matplotlib import rcParams
2+
from matplotlib import pyplot as plt
3+
from matplotlib.testing.decorators import cleanup
4+
5+
@cleanup
6+
def test_fig_close():
7+
rcParams['backend'] = 'qt4agg'
8+
9+
fig = plt.figure()
10+
fig.close()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.