From d78ec25a08b12764fbaea3eb0aa95fc5a7f39fe7 2013-08-22 01:24:01 From: Thomas Kluyver Date: 2013-08-22 01:24:01 Subject: [PATCH] Backport PR #4056: respect `pylab_import_all` when `--pylab` specified at the command-line Earlier cleanup cleaned up a bit too much, ignoring this configurable. should be backported to 1.x --- diff --git a/IPython/core/shellapp.py b/IPython/core/shellapp.py index af087bc..21785a2 100644 --- a/IPython/core/shellapp.py +++ b/IPython/core/shellapp.py @@ -217,7 +217,7 @@ class InteractiveShellApp(Configurable): enable = False shell = self.shell if self.pylab: - enable = shell.enable_pylab + enable = lambda key: shell.enable_pylab(key, import_all=self.pylab_import_all) key = self.pylab elif self.matplotlib: enable = shell.enable_matplotlib