##// END OF EJS Templates
STY: placate linter over single vs double quotes
Thomas A Caswell -
Show More
@@ -208,7 +208,7 b' def mpl_runner(safe_execfile):'
208
208
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():
@@ -319,11 +319,11 b' def find_gui_and_backend(gui=None, gui_select=None):'
319
319
320 import matplotlib
320 import matplotlib
321
321
322 has_unified_qt_backend = matplotlib.__version__[:3] >= '3.5'
322 has_unified_qt_backend = matplotlib.__version__[:3] >= "3.5"
323
323
324 backends_ = dict(backends)
324 backends_ = dict(backends)
325 if not has_unified_qt_backend:
325 if not has_unified_qt_backend:
326 backends_['qt'] = 'qt5agg'
326 backends_["qt"] = "qt5agg"
327
327
328 if gui and gui != 'auto':
328 if gui and gui != 'auto':
329 # select backend based on requested gui
329 # select backend based on requested gui
General Comments 0
You need to be logged in to leave comments. Login now