Permalink
Browse files

Merge pull request #4056 from minrk/pylab_import_all

respect `pylab_import_all` when `--pylab` specified at the command-line
  • Loading branch information...
2 parents 3c3aff3 + f04e9ae commit a6b309353a9bd57bfdc9d69c687e781ac40be8ca @bfroehle committed Aug 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 IPython/core/shellapp.py
View
2 IPython/core/shellapp.py
@@ -217,7 +217,7 @@ def init_gui_pylab(self):
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

0 comments on commit a6b3093

Please sign in to comment.