Skip to content

Commit 1f6ea03

Browse files
committed
Update
1 parent edbefcd commit 1f6ea03

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vitessce/widget.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,7 @@ def get_uid_str(uid):
508508
DEFAULT_PAGE_ESM = """
509509
function createPage(utilsForPage) {
510510
const {
511+
React,
511512
usePageModeView,
512513
} = utilsForPage;
513514
@@ -709,7 +710,7 @@ def _plugin_command(self, params, buffers):
709710
# Launch Vitessce using plain HTML representation (no ipywidgets)
710711

711712

712-
def ipython_display(config, height=600, theme='auto', base_url=None, host_name=None, uid=None, port=None, proxy=False, js_package_version='3.5.11', js_dev_mode=False, custom_js_url='', plugin_esm=DEFAULT_PLUGIN_ESM, remount_on_uid_change=True, page_mode=False, page_esm=None):
713+
def ipython_display(config, height=600, theme='auto', base_url=None, host_name=None, uid=None, port=None, proxy=False, js_package_version='3.5.11', js_dev_mode=False, custom_js_url='', plugins=None, remount_on_uid_change=True, page_mode=False, page_esm=None):
713714
from IPython.display import display, HTML
714715
uid_str = "vitessce" + get_uid_str(uid)
715716

0 commit comments

Comments
 (0)