From 48701c868d4743c9fb00dda41895b663ea931cdc 2013-07-17 21:02:44 From: MinRK Date: 2013-07-17 21:02:44 Subject: [PATCH] remove extra self in InProcess.enable_matplotlib --- 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."""