From af28e2e433c9b0233436da850be97cd63df90a74 Mon Sep 17 00:00:00 2001 From: appel_c Date: Wed, 9 Apr 2025 10:10:51 +0200 Subject: [PATCH] fix: support auto_range_x/y for viewAll during measurement --- bec_widgets/widgets/plots/waveform/waveform.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bec_widgets/widgets/plots/waveform/waveform.py b/bec_widgets/widgets/plots/waveform/waveform.py index fb23c838..058e3839 100644 --- a/bec_widgets/widgets/plots/waveform/waveform.py +++ b/bec_widgets/widgets/plots/waveform/waveform.py @@ -248,6 +248,8 @@ class Waveform(PlotBase): for curve in self._async_curves + self._sync_curves: curve.setClipToView(False) self.plot_item.vb.autoRange() + self.auto_range_x = True + self.auto_range_y = True for curve in self._async_curves + self._sync_curves: curve.setClipToView(True)