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

fix: scan_plot to accept metadata from dap signal

* as a consequence of 18b5d46678
This commit is contained in:
2023-08-09 15:57:42 +02:00
parent 18b5d46678
commit 7bec0b5e6c

View File

@@ -61,8 +61,8 @@ class BECScanPlot(pg.GraphicsView):
plot_curve.setData(x=[*x, x_new], y=[*y, y_new])
@pyqtSlot(dict)
def redraw_dap(self, data):
@pyqtSlot(dict, dict)
def redraw_dap(self, data, _metadata):
for chan, plot_curve in self.dap_curves.items():
if not chan:
continue