Permalink
Browse files

Add figure close test for qt4 backend

  • Loading branch information...
dmcdougall authored and tacaswell committed Jan 18, 2013
1 parent 35204ed commit c3cb88214abc6b0ce0ddff0386472116ab417787
Showing with 10 additions and 0 deletions.
  1. +10 −0 lib/matplotlib/tests/test_backend_qt4.py
@@ -0,0 +1,10 @@
+from matplotlib import rcParams
+from matplotlib import pyplot as plt
+from matplotlib.testing.decorators import cleanup
+
+@cleanup
+def test_fig_close():
+ rcParams['backend'] = 'qt4agg'
+
+ fig = plt.figure()
+ fig.close()

0 comments on commit c3cb882

Please sign in to comment.