From 01cc71973117ca62227742bbc6de4fe3f911ff91 Mon Sep 17 00:00:00 2001 From: Abhishek Yenpure Date: Fri, 1 Aug 2025 17:30:45 -0700 Subject: [PATCH 1/2] Adding scalar bar/coloring fixes -- Coloring menu transition w/ offset -- Keeping scalar bar image consistent post log scaling --- quickview/ui/slice_selection.py | 2 +- quickview/ui/view_settings.py | 1 + quickview/view_manager.py | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/quickview/ui/slice_selection.py b/quickview/ui/slice_selection.py index 4868653..53cbfed 100644 --- a/quickview/ui/slice_selection.py +++ b/quickview/ui/slice_selection.py @@ -198,7 +198,7 @@ def __init__(self, source: EAMVisSource, view_manager: ViewManager): ) # v2.VDivider(classes="my-4") - with v2.VRow(classes="text-center align-center text-subtitle-1 pt-2 pa-2"): + with v2.VRow(classes="text-center align-center text-subtitle-1 pt-4 px-2"): with v2.VCol(cols=3, classes="py-0"): v2.VTextField( v_model=("cliplat[0]",), diff --git a/quickview/ui/view_settings.py b/quickview/ui/view_settings.py index 1db20f9..4d1ae2e 100644 --- a/quickview/ui/view_settings.py +++ b/quickview/ui/view_settings.py @@ -18,6 +18,7 @@ def __init__( close_on_content_click=False, persistent=True, no_click_animation=True, + offset_y=True, **kwargs, ) with self: diff --git a/quickview/view_manager.py b/quickview/view_manager.py index 7a6c7da..dafd83e 100644 --- a/quickview/view_manager.py +++ b/quickview/view_manager.py @@ -620,8 +620,9 @@ def update_log_scale(self, index, value): else: coltrfunc.MapControlPointsToLinearSpace() coltrfunc.UseLogScale = 0 - # Regenerate colorbar after log scale change - self.generate_colorbar_image(index) + # Note: We don't regenerate the colorbar image here because the color gradient + # itself doesn't change with log scale - only the data mapping changes. + # The colorbar always shows a linear color progression. # Sync all color configuration changes back to state self.sync_color_config_to_state(index, context) From 52148b5c99de9870a057bfe282007707a7bc7959 Mon Sep 17 00:00:00 2001 From: Abhishek Yenpure Date: Fri, 1 Aug 2025 17:36:46 -0700 Subject: [PATCH 2/2] =?UTF-8?q?Bump=20version:=200.1.7=20=E2=86=92=200.1.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bumpversion.cfg | 2 +- pyproject.toml | 2 +- quickview/__init__.py | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 65b3f7d..320624f 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.1.7 +current_version = 0.1.8 commit = True tag = True diff --git a/pyproject.toml b/pyproject.toml index 50dc96f..7d8eada 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "quickview" -version = "0.1.7" +version = "0.1.8" description = "An application to explore/analyze data for atmosphere component for E3SM" authors = [ {name = "Kitware Inc."}, diff --git a/quickview/__init__.py b/quickview/__init__.py index 4bde9de..7bbf27b 100644 --- a/quickview/__init__.py +++ b/quickview/__init__.py @@ -1,5 +1,5 @@ """QuickView: Visual Analysis for E3SM Atmosphere Data.""" -__version__ = "0.1.7" +__version__ = "0.1.8" __author__ = "Kitware Inc." __license__ = "Apache-2.0" diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 72f5d45..732e6f7 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "app" -version = "0.1.7" +version = "0.1.8" description = "QuickView: Visual Analyis for E3SM Atmosphere Data" authors = ["Kitware"] license = "" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 10af770..118e17d 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -7,7 +7,7 @@ }, "package": { "productName": "QuickView", - "version": "0.1.7" + "version": "0.1.8" }, "tauri": { "allowlist": {