Skip to content

Commit

Permalink
Disable inline resources in Jupyterlite (#5683)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored Apr 17, 2023
1 parent 028c1da commit 04ba54a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion holoviews/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ def __call__(self, *args, **opts): # noqa (dummy signature)
from .pyodide import pyodide_extension, in_jupyterlite
# The notebook_extension is needed inside jupyterlite,
# so the override is only done if we are not inside jupyterlite.
if not in_jupyterlite():
if in_jupyterlite():
extension.inline = False
else:
extension = pyodide_extension
del pyodide_extension, in_jupyterlite

Expand Down

0 comments on commit 04ba54a

Please sign in to comment.