vitessce 3.6.0__py3-none-any.whl → 3.6.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
vitessce/widget.py CHANGED
@@ -497,7 +497,8 @@ async function render(view) {
497
497
  const root = createRoot(view.el);
498
498
  // Marimo puts AnyWidgets in a Shadow Root, so we need to tell Emotion to
499
499
  // insert styles within the Shadow DOM.
500
- const styleContainer = view.el.getRootNode();
500
+ const rootNode = view.el.getRootNode();
501
+ const styleContainer = rootNode === document ? undefined : rootNode;
501
502
  root.render(e(VitessceWidget, { model: view.model, styleContainer }));
502
503
 
503
504
  return () => {
@@ -601,7 +602,7 @@ class VitessceWidget(anywidget.AnyWidget):
601
602
 
602
603
  next_port = DEFAULT_PORT
603
604
 
604
- js_package_version = Unicode('3.5.12').tag(sync=True)
605
+ js_package_version = Unicode('3.6.2').tag(sync=True)
605
606
  js_dev_mode = Bool(False).tag(sync=True)
606
607
  custom_js_url = Unicode('').tag(sync=True)
607
608
  plugin_esm = List(trait=Unicode(''), default_value=[]).tag(sync=True)
@@ -613,7 +614,7 @@ class VitessceWidget(anywidget.AnyWidget):
613
614
 
614
615
  store_urls = List(trait=Unicode(''), default_value=[]).tag(sync=True)
615
616
 
616
- def __init__(self, config, height=600, theme='auto', uid=None, port=None, proxy=False, js_package_version='3.5.12', 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):
617
+ def __init__(self, config, height=600, theme='auto', uid=None, port=None, proxy=False, js_package_version='3.6.2', 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):
617
618
  """
618
619
  Construct a new Vitessce widget.
619
620
 
@@ -748,7 +749,7 @@ class VitessceWidget(anywidget.AnyWidget):
748
749
  # Launch Vitessce using plain HTML representation (no ipywidgets)
749
750
 
750
751
 
751
- 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.12', js_dev_mode=False, custom_js_url='', plugins=None, remount_on_uid_change=True, page_mode=False, page_esm=None):
752
+ 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.2', js_dev_mode=False, custom_js_url='', plugins=None, remount_on_uid_change=True, page_mode=False, page_esm=None):
752
753
  from IPython.display import display, HTML
753
754
  uid_str = "vitessce" + get_uid_str(uid)
754
755
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vitessce
3
- Version: 3.6.0
3
+ Version: 3.6.1
4
4
  Summary: Jupyter widget facilitating interactive visualization of spatial single-cell data with Vitessce
5
5
  Project-URL: repository, https://github.com/vitessce/vitessce-python
6
6
  Author-email: Mark Keller <mark_keller@hms.harvard.edu>
@@ -8,7 +8,7 @@ vitessce/repr.py,sha256=qMmefmZ3E-3sRVxeI5q1DTZnfuwbXKiA85eyqk5MCT4,2287
8
8
  vitessce/responses.py,sha256=Z6Wo4AXN-RyzmxMPhSuhpIsHTItHM4GyIgMLGoVEYcU,339
9
9
  vitessce/routes.py,sha256=U8T-L-3QCD_tAbPF8LsUlSMhPWNbyzbLNUnxP9Z9s9o,2140
10
10
  vitessce/utils.py,sha256=obzjj65qsagu60_yuhGc-0jmHO-BW0Y-bDs0FgrBqLY,981
11
- vitessce/widget.py,sha256=TJjpOBCSS9EBd-klEStvd_NCWejHG0QUROmI3b_7lrQ,33146
11
+ vitessce/widget.py,sha256=2ConheUZqGuA2zAPsqKeliDCxegnderWgTxXkStYVNU,33210
12
12
  vitessce/wrappers.py,sha256=3ZNldH2uDhOzUl8ahil7GxnPcr0nKwqfrjjbgS2IL0Y,75010
13
13
  vitessce/data_utils/__init__.py,sha256=3mWi1lMjoj4_dNbhMOvyE-HEJu0qpMzcmkhfz_5T6n8,361
14
14
  vitessce/data_utils/anndata.py,sha256=iLa5-bRezHgBzL_XCHO7w0pc0RQ4urzZbDsqJbBYeCk,10668
@@ -18,7 +18,7 @@ vitessce/data_utils/ome.py,sha256=aK-iGNgjUmUMsWgdZhW78VrtMBKMW_jIQDYnsupq6BE,54
18
18
  vitessce/widget_plugins/__init__.py,sha256=lto2GXnc7KwjIoT-jvzyRYLj0XTJG3uxoX45Hc9EcWA,82
19
19
  vitessce/widget_plugins/demo_plugin.py,sha256=14S7nOxdlKSxIHw9DUcNCN83NE_U1EMPy2D4k0FDues,1797
20
20
  vitessce/widget_plugins/spatial_query.py,sha256=CYxvmMT1Je_jguikPROQxlegkPgIIzemKGbZSJfZMyI,12314
21
- vitessce-3.6.0.dist-info/METADATA,sha256=LHEQzRra80wKjvCJnln_yQMvmULNcZsbsohcmaUlKL0,9756
22
- vitessce-3.6.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
23
- vitessce-3.6.0.dist-info/licenses/LICENSE,sha256=sNNpI0PQ57AW8_XnTAjU5Yw8YBA_DRNkVHrHYpCIhRU,1067
24
- vitessce-3.6.0.dist-info/RECORD,,
21
+ vitessce-3.6.1.dist-info/METADATA,sha256=2MqadRVK49A5pj1SgGfpLxJX479mA2FRyxMaj_bp9dQ,9756
22
+ vitessce-3.6.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
23
+ vitessce-3.6.1.dist-info/licenses/LICENSE,sha256=sNNpI0PQ57AW8_XnTAjU5Yw8YBA_DRNkVHrHYpCIhRU,1067
24
+ vitessce-3.6.1.dist-info/RECORD,,