mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-13 19:21:50 +02:00
fix: support auto_range_x/y for viewAll during measurement
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user