fix: support auto_range_x/y for viewAll during measurement

This commit is contained in:
appel_c authored and wyzula_j committed 2025-04-09 14:35:52 +02:00
1 parent 515d7ad055
commit af28e2e433
1 file changed
+2
@@ -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)