Skip to content

Commit 008d47e

Browse files
committed
reload the holoviews javascript each time notebook_integration is called
Because after closing the notebook and then opening it, the javascript is gone. Without this change, one could not load it again.
1 parent 9bd0cc9 commit 008d47e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

adaptive/notebook_integration.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ def notebook_extension():
2323

2424
# Load holoviews
2525
try:
26+
_holoviews_enabled = False # After closing a notebook the js is gone
2627
if not _holoviews_enabled:
2728
import holoviews
2829
holoviews.notebook_extension('bokeh', logo=False)

0 commit comments

Comments
 (0)