diff --git a/IPython/kernel/inprocess/ipkernel.py b/IPython/kernel/inprocess/ipkernel.py index e2d0405..0b2bbae 100644 --- a/IPython/kernel/inprocess/ipkernel.py +++ b/IPython/kernel/inprocess/ipkernel.py @@ -170,7 +170,7 @@ class InProcessInteractiveShell(ZMQInteractiveShell): """Enable matplotlib integration for the kernel.""" if not gui: gui = self.kernel.gui - return super(InProcessInteractiveShell, self).enable_matplotlib(self, gui) + return super(InProcessInteractiveShell, self).enable_matplotlib(gui) def enable_pylab(self, gui=None, import_all=True, welcome_message=False): """Activate pylab support at runtime."""