##// END OF EJS Templates
add `%matplotlib` and `shell.enable_matplotlib`...
add `%matplotlib` and `shell.enable_matplotlib` Now `%matplotlib` / `enable_matplotlib` do the bulk of the work. `%pylab` / `enable_pylab` just add namespace population on top of that. Related changes: - remove `pylabtools.activate_pylab` - shorten backend message to just `using matplotlib backend: <backend>` - only show backend message when magics are called with `auto`, never from Python methods or when backend is explicit. - pylab clobber warning is only displayed in the magic, not the Python method.

File last commit:

r11235:291fade6
r11328:7ae1fe42
Show More
test_imports.py
15 lines | 350 B | text/x-python | PythonLexer
# encoding: utf-8
from IPython.testing import decorators as dec
def test_import_backgroundjobs():
from IPython.lib import backgroundjobs
def test_import_deepreload():
from IPython.lib import deepreload
def test_import_demo():
from IPython.lib import demo
@dec.skip_win32
def test_import_irunner():
from IPython.lib import irunner