##// 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:

r9394:a8b9bab9
r11328:7ae1fe42
Show More
__init__.py
21 lines | 785 B | text/x-python | PythonLexer
# encoding: utf-8
"""
Extra capabilities for IPython
"""
#-----------------------------------------------------------------------------
# Copyright (C) 2008-2011 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
from IPython.lib.security import passwd
#-----------------------------------------------------------------------------
# Code
#-----------------------------------------------------------------------------