From ca1044cf0e41e89a71fddb166d22fd046b283ff8 Mon Sep 17 00:00:00 2001 From: fima <fima@dtu.dk> Date: Fri, 8 Dec 2023 15:28:06 +0100 Subject: [PATCH] Data explorer --- qim3d/css/gradio.css | 5 +++++ qim3d/gui/data_explorer.py | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/qim3d/css/gradio.css b/qim3d/css/gradio.css index d34102b4..6e01ef35 100644 --- a/qim3d/css/gradio.css +++ b/qim3d/css/gradio.css @@ -615,3 +615,8 @@ div.svelte-1frtwj3 { .hide-overflow{ overflow: hidden !important; } + + +.wrap.default{ + visibility: hidden !important; +} \ No newline at end of file diff --git a/qim3d/gui/data_explorer.py b/qim3d/gui/data_explorer.py index bb2790f7..17eb8268 100644 --- a/qim3d/gui/data_explorer.py +++ b/qim3d/gui/data_explorer.py @@ -247,14 +247,14 @@ class Interface: - zpos.release( + zpos.change( fn=self.update_zpos, inputs=[session, zpos], outputs=[session, zslice_plot]).success( fn=pipeline.create_zslice_fig, inputs=[], outputs=zslice_plot,show_progress="hidden") - ypos.release( + ypos.change( fn=self.update_ypos, inputs=[session, ypos], outputs=[session, yslice_plot]).success( fn=pipeline.create_yslice_fig, inputs=[], outputs=yslice_plot,show_progress="hidden") - xpos.release( + xpos.change( fn=self.update_xpos, inputs=[session, xpos], outputs=[session, xslice_plot]).success( fn=pipeline.create_xslice_fig, inputs=[], outputs=xslice_plot,show_progress="hidden") -- GitLab