1
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2026-01-01 11:31:19 +01:00

fix(waveform):autorange on scan_status

This commit is contained in:
2025-09-10 21:33:15 +02:00
committed by Jan Wyzula
parent 3a2ec9f1b7
commit 0a24ac2c40

View File

@@ -1124,7 +1124,8 @@ class Waveform(PlotBase):
self.reset()
self.new_scan.emit()
self.new_scan_id.emit(current_scan_id)
self.auto_range(True)
self.auto_range_x = True
self.auto_range_y = True
self.old_scan_id = self.scan_id
self.scan_id = current_scan_id
self.scan_item = self.queue.scan_storage.find_scan_by_ID(self.scan_id) # live scan