##// END OF EJS Templates
with -pylab_import_all, put all names to user_config_ns in order to not clutter %whos
Ville M. Vainio -
Show More
@@ -1051,7 +1051,9 b' def _load_pylab(user_ns):'
1051 1051
1052 1052 ip = IPython.ipapi.get()
1053 1053 if ip.options.pylab_import_all:
1054 exec "from matplotlib.pylab import *" in user_ns
1054 ip.ex("from matplotlib.pylab import *")
1055 ip.IP.user_config_ns.update(ip.user_ns)
1056
1055 1057
1056 1058 class IPShellMatplotlib(IPShell):
1057 1059 """Subclass IPShell with MatplotlibShell as the internal shell.
General Comments 0
You need to be logged in to leave comments. Login now