Skip to content

Commit d6e890d

Browse files
author
Steven Silvester
authored
Merge pull request #781 from nexpy/fix-inprocess-enable-gui
Remove setting of the eventloop function in the InProcessKernel
2 parents 81a640b + e043061 commit d6e890d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ipykernel/inprocess/ipkernel.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,10 @@ class InProcessInteractiveShell(ZMQInteractiveShell):
175175

176176
def enable_gui(self, gui=None):
177177
"""Enable GUI integration for the kernel."""
178-
from ipykernel.eventloops import enable_gui
179178
if not gui:
180179
gui = self.kernel.gui
181-
enable_gui(gui, kernel=self.kernel)
182180
self.active_eventloop = gui
183181

184-
185182
def enable_matplotlib(self, gui=None):
186183
"""Enable matplotlib integration for the kernel."""
187184
if not gui:

0 commit comments

Comments
 (0)