@@ -194,7 +194,7 @@ def get_uid_str(uid):
194194 };
195195}
196196
197- export async function render(view) {
197+ async function render(view) {
198198 const cssUid = view.model.get('uid');
199199 const jsDevMode = view.model.get('js_dev_mode');
200200 const jsPackageVersion = view.model.get('js_package_version');
@@ -339,6 +339,7 @@ def get_uid_str(uid):
339339 }
340340 };
341341}
342+ export default { render };
342343"""
343344
344345DEFAULT_PLUGIN_ESM = """
@@ -382,13 +383,13 @@ class VitessceWidget(anywidget.AnyWidget):
382383
383384 next_port = DEFAULT_PORT
384385
385- js_package_version = Unicode ('3.3.6 ' ).tag (sync = True )
386+ js_package_version = Unicode ('3.3.7 ' ).tag (sync = True )
386387 js_dev_mode = Bool (False ).tag (sync = True )
387388 custom_js_url = Unicode ('' ).tag (sync = True )
388389 plugin_esm = Unicode (DEFAULT_PLUGIN_ESM ).tag (sync = True )
389390 remount_on_uid_change = Bool (True ).tag (sync = True )
390391
391- def __init__ (self , config , height = 600 , theme = 'auto' , uid = None , port = None , proxy = False , js_package_version = '3.3.6 ' , js_dev_mode = False , custom_js_url = '' , plugin_esm = DEFAULT_PLUGIN_ESM , remount_on_uid_change = True ):
392+ def __init__ (self , config , height = 600 , theme = 'auto' , uid = None , port = None , proxy = False , js_package_version = '3.3.7 ' , js_dev_mode = False , custom_js_url = '' , plugin_esm = DEFAULT_PLUGIN_ESM , remount_on_uid_change = True ):
392393 """
393394 Construct a new Vitessce widget.
394395
@@ -462,7 +463,7 @@ def close(self):
462463# Launch Vitessce using plain HTML representation (no ipywidgets)
463464
464465
465- def ipython_display (config , height = 600 , theme = 'auto' , base_url = None , host_name = None , uid = None , port = None , proxy = False , js_package_version = '3.3.6 ' , js_dev_mode = False , custom_js_url = '' , plugin_esm = DEFAULT_PLUGIN_ESM , remount_on_uid_change = True ):
466+ def ipython_display (config , height = 600 , theme = 'auto' , base_url = None , host_name = None , uid = None , port = None , proxy = False , js_package_version = '3.3.7 ' , js_dev_mode = False , custom_js_url = '' , plugin_esm = DEFAULT_PLUGIN_ESM , remount_on_uid_change = True ):
466467 from IPython .display import display , HTML
467468 uid_str = "vitessce" + get_uid_str (uid )
468469
0 commit comments