@@ -147,6 +147,7 @@ def get_uid_str(uid):
147147 return uid_str
148148
149149
150+ # lang: js
150151ESM = """
151152import { importWithMap } from 'https://unpkg.com/[email protected] '; 152153const importMap = {
@@ -539,6 +540,7 @@ def get_uid_str(uid):
539540export default { render };
540541"""
541542
543+ # lang: js
542544DEFAULT_PLUGIN_ESM = """
543545function createPlugins(utilsForPlugins) {
544546 const {
@@ -563,6 +565,7 @@ def get_uid_str(uid):
563565export default { createPlugins };
564566"""
565567
568+ # lang: js
566569DEFAULT_PAGE_ESM = """
567570function createPage(utilsForPage) {
568571 const {
@@ -623,7 +626,7 @@ class VitessceWidget(anywidget.AnyWidget):
623626
624627 next_port = DEFAULT_PORT
625628
626- js_package_version = Unicode ('3.6.6 ' ).tag (sync = True )
629+ js_package_version = Unicode ('3.6.7 ' ).tag (sync = True )
627630 js_dev_mode = Bool (False ).tag (sync = True )
628631 custom_js_url = Unicode ('' ).tag (sync = True )
629632 plugin_esm = List (trait = Unicode ('' ), default_value = []).tag (sync = True )
@@ -636,7 +639,7 @@ class VitessceWidget(anywidget.AnyWidget):
636639
637640 store_urls = List (trait = Unicode ('' ), default_value = []).tag (sync = True )
638641
639- def __init__ (self , config , height = 600 , theme = 'auto' , uid = None , port = None , proxy = False , js_package_version = '3.6.6 ' , js_dev_mode = False , custom_js_url = '' , plugins = None , remount_on_uid_change = True , prefer_local = True , invoke_timeout = 300000 , invoke_batched = True , page_mode = False , page_esm = None , prevent_scroll = True ):
642+ def __init__ (self , config , height = 600 , theme = 'auto' , uid = None , port = None , proxy = False , js_package_version = '3.6.7 ' , js_dev_mode = False , custom_js_url = '' , plugins = None , remount_on_uid_change = True , prefer_local = True , invoke_timeout = 300000 , invoke_batched = True , page_mode = False , page_esm = None , prevent_scroll = True ):
640643 """
641644 Construct a new Vitessce widget.
642645
@@ -772,7 +775,7 @@ def _plugin_command(self, params, buffers):
772775# Launch Vitessce using plain HTML representation (no ipywidgets)
773776
774777
775- def ipython_display (config , height = 600 , theme = 'auto' , base_url = None , host_name = None , uid = None , port = None , proxy = False , js_package_version = '3.6.6 ' , js_dev_mode = False , custom_js_url = '' , plugins = None , remount_on_uid_change = True , page_mode = False , page_esm = None ):
778+ def ipython_display (config , height = 600 , theme = 'auto' , base_url = None , host_name = None , uid = None , port = None , proxy = False , js_package_version = '3.6.7 ' , js_dev_mode = False , custom_js_url = '' , plugins = None , remount_on_uid_change = True , page_mode = False , page_esm = None ):
776779 from IPython .display import display , HTML
777780 uid_str = "vitessce" + get_uid_str (uid )
778781
0 commit comments