##// END OF EJS Templates
Switch correctly to the user's default matplotlib backend after inline....
Switch correctly to the user's default matplotlib backend after inline. If '%matplotlib inline' was called first, we'd incorrectly revert to inline when plain '%matplotlib' was called, instead of loading the user's default GUI. If the user called '%matplotlib' first (without 'inline') it worked correctly, but not in the other order. The fix is to read the backend from the original defaults, not from the runtime data structure.

File last commit:

r11235:291fade6
r12593:bbb4baa8
Show More
test_imports.py
15 lines | 350 B | text/x-python | PythonLexer
Brian Granger
background_jobs.py => lib/backgroundjob.py and imports updated.
r2011 # encoding: utf-8
Thomas Kluyver
Skip import irunner test on Windows....
r11235 from IPython.testing import decorators as dec
Brian Granger
background_jobs.py => lib/backgroundjob.py and imports updated.
r2011
def test_import_backgroundjobs():
from IPython.lib import backgroundjobs
Brian Granger
deep_reload.py =? lib/deepreload.py and imports updated.
r2016 def test_import_deepreload():
from IPython.lib import deepreload
Brian Granger
demo.py => lib/demo.py and imports updated.
r2017 def test_import_demo():
Brian Granger
irunner.py => lib/irunner.py and imports updated.
r2035 from IPython.lib import demo
Thomas Kluyver
Skip import irunner test on Windows....
r11235 @dec.skip_win32
Brian Granger
irunner.py => lib/irunner.py and imports updated.
r2035 def test_import_irunner():
Thomas Kluyver
Remove unused imports in IPython.lib
r11126 from IPython.lib import irunner