From fd885deec5f4d02e8d949f1c118d2fbc3675582f Mon Sep 17 00:00:00 2001 From: rafalkowalewski1 Date: Thu, 18 Jun 2026 14:50:18 +0200 Subject: [PATCH 1/3] pick areas for circular and square picks fixed --- changelog.md | 5 ++++- picasso/gui/render.py | 5 ----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/changelog.md b/changelog.md index 73cca0f5..ebb894b0 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,9 @@ # Changelog -Last change: 11-JUN-2026 CEST +Last change: 18-JUN-2026 CEST + +## 0.10.3 +- Fixed total pick area in the .yamls for circular and square picks ## 0.10.2 - Rotations use quaterions for unambiguous workflow, fixing bugs [#673](https://github.com/jungmannlab/picasso/issues/673), [#674](https://github.com/jungmannlab/picasso/issues/674) and [#675](https://github.com/jungmannlab/picasso/issues/675) diff --git a/picasso/gui/render.py b/picasso/gui/render.py index b985aded..461c12e2 100644 --- a/picasso/gui/render.py +++ b/picasso/gui/render.py @@ -10601,11 +10601,6 @@ def save_picked_locs(self, path: str, channel: int) -> None: # save picked locs with .yaml if locs is not None: pick_info = self._build_base_pick_info() - # correct for the total area for certain shapes - if self._pick_shape in ["Circle", "Square"]: - pick_info["Area (um^2)"] = pick_info["Area (um^2)"] * len( - self._picks - ) self._add_shape_specific_info(pick_info) io.save_locs(path, locs, self.infos[channel] + [pick_info]) From f0ae4cd987fdec52b6a2191c88d8416b296117b0 Mon Sep 17 00:00:00 2001 From: rafalkowalewski1 Date: Thu, 18 Jun 2026 14:54:26 +0200 Subject: [PATCH 2/3] Fixed plotting x and y in "Select pics (trace)" --- changelog.md | 3 ++- picasso/gui/render.py | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/changelog.md b/changelog.md index ebb894b0..ff94d3fd 100644 --- a/changelog.md +++ b/changelog.md @@ -3,7 +3,8 @@ Last change: 18-JUN-2026 CEST ## 0.10.3 -- Fixed total pick area in the .yamls for circular and square picks +- Fixed total pick area in the .yamls for circular and square picks (Render) +- Fixed plotting x and y in "Select picks (trace) in Render" ## 0.10.2 - Rotations use quaterions for unambiguous workflow, fixing bugs [#673](https://github.com/jungmannlab/picasso/issues/673), [#674](https://github.com/jungmannlab/picasso/issues/674) and [#675](https://github.com/jungmannlab/picasso/issues/675) diff --git a/picasso/gui/render.py b/picasso/gui/render.py index 461c12e2..ca4ef87c 100644 --- a/picasso/gui/render.py +++ b/picasso/gui/render.py @@ -9219,8 +9219,10 @@ def select_traces(self) -> None: + "." ) if locs_.size: - fig.axes[0].set_ylim(yvec[yvec > 0].min(), yvec.max()) - fig.axes[1].set_ylim(yvec[yvec > 0].min(), yvec.max()) + for ax, col in zip(fig.axes[:2], ("x", "y")): + lo, hi = locs_[col].min(), locs_[col].max() + if lo != hi: + ax.set_ylim(lo, hi) plt.setp(fig.axes[0].get_xticklabels(), visible=False) plt.setp(fig.axes[1].get_xticklabels(), visible=False) From 18103990b3f4b1544598102000a52759f75fcbca Mon Sep 17 00:00:00 2001 From: rafalkowalewski1 Date: Thu, 18 Jun 2026 14:54:37 +0200 Subject: [PATCH 3/3] version update for the release --- picasso/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/picasso/version.py b/picasso/version.py index 17c1a626..b2385cb4 100644 --- a/picasso/version.py +++ b/picasso/version.py @@ -1 +1 @@ -__version__ = "0.10.2" +__version__ = "0.10.3"