From a9dd191629295ca476e2f9a1b9944ff355216583 Mon Sep 17 00:00:00 2001 From: appel_c Date: Fri, 11 Aug 2023 09:47:59 +0200 Subject: [PATCH] fix: gui event removing bugs --- bec_widgets/line_plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bec_widgets/line_plot.py b/bec_widgets/line_plot.py index 5ac2c691..829468fc 100644 --- a/bec_widgets/line_plot.py +++ b/bec_widgets/line_plot.py @@ -163,7 +163,7 @@ class BasicPlot(QtWidgets.QWidget): region = self.roi_selector.getRegion() self.label.setText(f"x = {(10**region[0]):.4f}, y ={(10**region[1]):.4f}") return_dict = { - "qranges": [ + "horiz_roi": [ np.where(self.plotter_data_x[0] > 10 ** region[0])[0][0], np.where(self.plotter_data_x[0] < 10 ** region[1])[0][-1], ]