Permalink
Browse files

don't load gui/pylab in console frontend

  • Loading branch information...
1 parent e953107 commit d5c08dfebc2202ba8be0264ae92c0c232d0ff473 @minrk committed Dec 18, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 IPython/frontend/terminal/console/app.py
@@ -118,6 +118,10 @@ def init_shell(self):
display_banner=False, profile_dir=self.profile_dir,
ipython_dir=self.ipython_dir, kernel_manager=self.kernel_manager)
+ def init_gui_pylab(self):
+ # no-op, because we don't want to import matplotlib in the frontend.
+ pass
+
def handle_sigint(self, *args):
if self.shell._executing:
if self.kernel_manager.has_kernel:

0 comments on commit d5c08df

Please sign in to comment.