diff --git a/sohstationviewer/view/plotting/plotting_widget/plotting_widget.py b/sohstationviewer/view/plotting/plotting_widget/plotting_widget.py index f5155fb54bb34232f84ffe8c1b16b712c695dc82..aabc9e356fe79ccbedd09bed9ec4d0b69c3f2343 100755 --- a/sohstationviewer/view/plotting/plotting_widget/plotting_widget.py +++ b/sohstationviewer/view/plotting/plotting_widget/plotting_widget.py @@ -616,7 +616,7 @@ class PlottingWidget(QtWidgets.QScrollArea): total_points = 0 tr_min_ys = [] tr_max_ys = [] - x, y = ax.x_list, ax.y_list + x, y = ax.x_center, ax.y_center if len(x) == 0: continue if self.min_x > x[-1] or self.max_x < x[0]: