Show More
@@ -64,7 +64,7 b' def pylab_activate(user_ns, gui=None, import_all=True):' | |||||
64 | # In this case, we need to find what the appropriate gui selection call |
|
64 | # In this case, we need to find what the appropriate gui selection call | |
65 | # should be for IPython, so we can activate inputhook accordingly |
|
65 | # should be for IPython, so we can activate inputhook accordingly | |
66 | b2g = dict(zip(g2b.values(),g2b.keys())) |
|
66 | b2g = dict(zip(g2b.values(),g2b.keys())) | |
67 |
gui = b2g |
|
67 | gui = b2g.get(backend, None) | |
68 |
|
68 | |||
69 | # We must set the desired backend before importing pylab |
|
69 | # We must set the desired backend before importing pylab | |
70 | matplotlib.use(backend) |
|
70 | matplotlib.use(backend) |
General Comments 0
You need to be logged in to leave comments.
Login now