nova-trame 1.0.0rc3__py3-none-any.whl → 1.0.0rc4__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.
- nova/trame/view/components/visualization/matplotlib_figure.py +2 -2
- {nova_trame-1.0.0rc3.dist-info → nova_trame-1.0.0rc4.dist-info}/METADATA +1 -1
- {nova_trame-1.0.0rc3.dist-info → nova_trame-1.0.0rc4.dist-info}/RECORD +6 -6
- {nova_trame-1.0.0rc3.dist-info → nova_trame-1.0.0rc4.dist-info}/WHEEL +0 -0
- {nova_trame-1.0.0rc3.dist-info → nova_trame-1.0.0rc4.dist-info}/entry_points.txt +0 -0
- {nova_trame-1.0.0rc3.dist-info → nova_trame-1.0.0rc4.dist-info}/licenses/LICENSE +0 -0
@@ -257,11 +257,11 @@ class MatplotlibFigure(matplotlib.Figure):
|
|
257
257
|
f"if ({self._query_selector} === null) {{ return; }}"
|
258
258
|
# webagg figures receive a fixed width and height. This blocks the flexbox scaling, so I temporarily hide
|
259
259
|
# the figure to allow the container to grow/shrink naturally in flexbox.
|
260
|
-
f"{
|
260
|
+
f"window.document.querySelectorAll('.nova-mpl').forEach((item) => {{ item.style.display = 'none'; }});"
|
261
261
|
f"const height = {self._query_selector}.parentNode.offsetHeight;"
|
262
262
|
f"const width = {self._query_selector}.parentNode.offsetWidth;"
|
263
263
|
# Revert the display value to allow the figure to render again.
|
264
|
-
f"{
|
264
|
+
f"window.document.querySelectorAll('.nova-mpl').forEach((item) => {{ item.style.display = ''; }});"
|
265
265
|
"window.trame.trigger("
|
266
266
|
f" '{self._id}_resize',"
|
267
267
|
f" [height, width, window.devicePixelRatio]"
|
@@ -18,7 +18,7 @@ nova/trame/view/components/remote_file_input.py,sha256=mcz_bmI2rD8gdmIOKLhlzfj-X
|
|
18
18
|
nova/trame/view/components/tool_outputs.py,sha256=IbYV4VjrkWAE354Bh5KH76SPsxGLIkOXChijS4-ce_Y,2408
|
19
19
|
nova/trame/view/components/visualization/__init__.py,sha256=reqkkbhD5uSksHHlhVMy1qNUCwSekS5HlXk6wCREYxU,152
|
20
20
|
nova/trame/view/components/visualization/interactive_2d_plot.py,sha256=z2s1janxAclpMEdDJk3z-CQ6r3KPNoR_SXPx9ppWnuQ,3481
|
21
|
-
nova/trame/view/components/visualization/matplotlib_figure.py,sha256=
|
21
|
+
nova/trame/view/components/visualization/matplotlib_figure.py,sha256=GYfX7hlEWQ4Dghk8Z1dmUQr6jgktWirhOYb0drtonM4,16297
|
22
22
|
nova/trame/view/layouts/__init__.py,sha256=cMrlB5YMUoK8EGB83b34UU0kPTVrH8AxsYvKRtpUNEc,141
|
23
23
|
nova/trame/view/layouts/grid.py,sha256=DU5u5JTE0ulzCaJsEWyTenBH9lOQD7mtoC6RZXxDTPE,6110
|
24
24
|
nova/trame/view/layouts/hbox.py,sha256=w6ow7Qzmq4slODz_9f7kEigCVPE2PhUmPODedYH34f4,3850
|
@@ -40,8 +40,8 @@ nova/trame/view_model/ornl/neutron_data_selector.py,sha256=PIKQyzcHpwu81DNk3d8Af
|
|
40
40
|
nova/trame/view_model/progress_bar.py,sha256=6AUKHF3hfzbdsHqNEnmHRgDcBKY5TT8ywDx9S6ovnsc,2854
|
41
41
|
nova/trame/view_model/remote_file_input.py,sha256=zWOflmCDJYYR_pacHphwzricV667GSRokh-mlxpBAOo,3646
|
42
42
|
nova/trame/view_model/tool_outputs.py,sha256=ev6LY7fJ0H2xAJn9f5ww28c8Kpom2SYc2FbvFcoN4zg,829
|
43
|
-
nova_trame-1.0.
|
44
|
-
nova_trame-1.0.
|
45
|
-
nova_trame-1.0.
|
46
|
-
nova_trame-1.0.
|
47
|
-
nova_trame-1.0.
|
43
|
+
nova_trame-1.0.0rc4.dist-info/METADATA,sha256=ullsD538VJU9i_HleHEUd0U5NytxWHl7gKY8hk7XIYI,1798
|
44
|
+
nova_trame-1.0.0rc4.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
45
|
+
nova_trame-1.0.0rc4.dist-info/entry_points.txt,sha256=J2AmeSwiTYZ4ZqHHp9HO6v4MaYQTTBPbNh6WtoqOT58,42
|
46
|
+
nova_trame-1.0.0rc4.dist-info/licenses/LICENSE,sha256=Iu5QiDbwNbREg75iYaxIJ_V-zppuv4QFuBhAW-qiAlM,1061
|
47
|
+
nova_trame-1.0.0rc4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|