##// END OF EJS Templates
STY: more style fixes
Thomas A Caswell -
Show More
@@ -209,7 +209,7 b' def mpl_runner(safe_execfile):'
209 #print '*** Matplotlib runner ***' # dbg
209 #print '*** Matplotlib runner ***' # dbg
210 # turn off rendering until end of script
210 # turn off rendering until end of script
211 with matplotlib.rc_context({"interactive": False}):
211 with matplotlib.rc_context({"interactive": False}):
212 safe_execfile(fname,*where,**kw)
212 safe_execfile(fname, *where, **kw)
213
213
214 if matplotlib.is_interactive():
214 if matplotlib.is_interactive():
215 plt.show()
215 plt.show()
@@ -173,8 +173,8 b' class TestPylabSwitch(object):'
173 # Save rcParams since they get modified
173 # Save rcParams since they get modified
174 self._saved_rcParams = matplotlib.rcParams
174 self._saved_rcParams = matplotlib.rcParams
175 self._saved_rcParamsOrig = matplotlib.rcParamsOrig
175 self._saved_rcParamsOrig = matplotlib.rcParamsOrig
176 matplotlib.rcParams = dict(backend='QtAgg')
176 matplotlib.rcParams = dict(backend="QtAgg")
177 matplotlib.rcParamsOrig = dict(backend='QtAgg')
177 matplotlib.rcParamsOrig = dict(backend="QtAgg")
178
178
179 # Mock out functions
179 # Mock out functions
180 self._save_am = pt.activate_matplotlib
180 self._save_am = pt.activate_matplotlib
General Comments 0
You need to be logged in to leave comments. Login now