Correct clicking data point for info
Compare changes
Files
2- Lan Dam authored
change the way of getting index of data picked to be more accurate on upDownDots and return real_idx instead of list_idx and section_idx; return old code for plotting widget which including getting plotting_data2 for mass_position;
@@ -12,9 +12,9 @@ from PySide6.QtWidgets import QWidget, QApplication, QTextBrowser
@@ -222,6 +222,12 @@ class PlottingWidget(QtWidgets.QScrollArea):
@@ -295,11 +301,16 @@ class PlottingWidget(QtWidgets.QScrollArea):
@@ -312,14 +323,12 @@ class PlottingWidget(QtWidgets.QScrollArea):
@@ -333,7 +342,7 @@ class PlottingWidget(QtWidgets.QScrollArea):
@@ -397,9 +406,18 @@ class PlottingWidget(QtWidgets.QScrollArea):