##// END OF EJS Templates
test_pylabtools also needs to modify matplotlib.rcParamsOrig...
Thomas Kluyver -
Show More
@@ -73,7 +73,9 b' class TestPylabSwitch(object):'
73 73
74 74 # Save rcParams since they get modified
75 75 self._saved_rcParams = matplotlib.rcParams
76 self._saved_rcParamsOrig = matplotlib.rcParamsOrig
76 77 matplotlib.rcParams = dict(backend='Qt4Agg')
78 matplotlib.rcParamsOrig = dict(backend='Qt4Agg')
77 79
78 80 # Mock out functions
79 81 self._save_am = pt.activate_matplotlib
@@ -89,6 +91,7 b' class TestPylabSwitch(object):'
89 91 pt.configure_inline_support = self._save_cis
90 92 import matplotlib
91 93 matplotlib.rcParams = self._saved_rcParams
94 matplotlib.rcParamsOrig = self._saved_rcParamsOrig
92 95
93 96 def test_qt(self):
94 97 s = self.Shell()
General Comments 0
You need to be logged in to leave comments. Login now