Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions adaptive/notebook_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import warnings
from contextlib import suppress

_async_enabled = False
_holoviews_enabled = False
_ipywidgets_enabled = False
_plotly_enabled = False
Expand All @@ -21,7 +20,7 @@ def notebook_extension(*, _inline_js=True):
"from a Jupyter notebook."
)

global _async_enabled, _holoviews_enabled, _ipywidgets_enabled
global _holoviews_enabled, _ipywidgets_enabled

# Load holoviews
try:
Expand Down Expand Up @@ -51,11 +50,6 @@ def notebook_extension(*, _inline_js=True):
stacklevel=2,
)

# Enable asyncio integration
if not _async_enabled:
get_ipython().magic("gui asyncio") # noqa: F821
_async_enabled = True


def ensure_holoviews():
try:
Expand Down
Loading