Skip to content

Commit

Permalink
Remove ipywidgets hack
Browse files Browse the repository at this point in the history
  • Loading branch information
SylvainCorlay committed Jan 10, 2020
1 parent ef701ea commit c568b45
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions ipykernel/kernelapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,18 +488,6 @@ def init_shell(self):
if self.shell:
self.shell.configurables.append(self)

def init_extensions(self):
super(IPKernelApp, self).init_extensions()
# BEGIN HARDCODED WIDGETS HACK
# Ensure ipywidgets extension is loaded if available
extension_man = self.shell.extension_manager
if 'ipywidgets' not in extension_man.loaded:
try:
extension_man.load_extension('ipywidgets')
except ImportError as e:
self.log.debug('ipywidgets package not installed. Widgets will not be available.')
# END HARDCODED WIDGETS HACK

def configure_tornado_logger(self):
""" Configure the tornado logging.Logger.
Expand Down

0 comments on commit c568b45

Please sign in to comment.