0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-13 19:21:50 +02:00

fix: gui event removing bugs

This commit is contained in:
2023-08-11 09:47:59 +02:00
parent dfce55b675
commit a9dd191629

View File

@ -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],
]