##// END OF EJS Templates
Added '%matplotlib agg' option....
Matteo -
Show More
@@ -23,6 +23,7 b" backends = {'tk': 'TkAgg',"
23 23 'osx': 'MacOSX',
24 24 'nbagg': 'nbAgg',
25 25 'notebook': 'nbAgg',
26 'agg': 'agg',
26 27 'inline' : 'module://ipykernel.pylab.backend_inline'}
27 28
28 29 # We also need a reverse backends2guis mapping that will properly choose which
@@ -261,6 +262,8 b' def find_gui_and_backend(gui=None, gui_select=None):'
261 262 if gui and gui != 'auto':
262 263 # select backend based on requested gui
263 264 backend = backends[gui]
265 if gui == 'agg':
266 gui = None
264 267 else:
265 268 # We need to read the backend from the original data structure, *not*
266 269 # from mpl.rcParams, since a prior invocation of %matplotlib may have
General Comments 0
You need to be logged in to leave comments. Login now