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