@@ -146,7 +146,7 @@ def get_uid_str(uid):
146146 uid_str = uid
147147 return uid_str
148148
149-
149+ # lang: js
150150ESM = """
151151import { importWithMap } from 'https://unpkg.com/[email protected] '; 152152const importMap = {
@@ -539,6 +539,7 @@ def get_uid_str(uid):
539539export default { render };
540540"""
541541
542+ # lang: js
542543DEFAULT_PLUGIN_ESM = """
543544function createPlugins(utilsForPlugins) {
544545 const {
@@ -563,6 +564,7 @@ def get_uid_str(uid):
563564export default { createPlugins };
564565"""
565566
567+ # lang: js
566568DEFAULT_PAGE_ESM = """
567569function createPage(utilsForPage) {
568570 const {
@@ -623,7 +625,7 @@ class VitessceWidget(anywidget.AnyWidget):
623625
624626 next_port = DEFAULT_PORT
625627
626- js_package_version = Unicode ('3.6.6 ' ).tag (sync = True )
628+ js_package_version = Unicode ('3.6.7 ' ).tag (sync = True )
627629 js_dev_mode = Bool (False ).tag (sync = True )
628630 custom_js_url = Unicode ('' ).tag (sync = True )
629631 plugin_esm = List (trait = Unicode ('' ), default_value = []).tag (sync = True )
@@ -636,7 +638,7 @@ class VitessceWidget(anywidget.AnyWidget):
636638
637639 store_urls = List (trait = Unicode ('' ), default_value = []).tag (sync = True )
638640
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 ):
641+ 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 ):
640642 """
641643 Construct a new Vitessce widget.
642644
@@ -772,7 +774,7 @@ def _plugin_command(self, params, buffers):
772774# Launch Vitessce using plain HTML representation (no ipywidgets)
773775
774776
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 ):
777+ 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 ):
776778 from IPython .display import display , HTML
777779 uid_str = "vitessce" + get_uid_str (uid )
778780
0 commit comments