Skip to content

don't load gui/pylab in console frontend #1173

Merged
merged 1 commit into from Dec 18, 2011
+4 −0
View
4 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:
Something went wrong with that request. Please try again.