From 9a212db0429d1251f75ea2c5e0d1fc48c18604f3 Mon Sep 17 00:00:00 2001
From: kienle <kienle@passcal.nmt.edu>
Date: Tue, 2 Jan 2024 10:06:21 -0700
Subject: [PATCH] Fix the problem

---
 .../view/plotting/plotting_widget/plotting_widget.py            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sohstationviewer/view/plotting/plotting_widget/plotting_widget.py b/sohstationviewer/view/plotting/plotting_widget/plotting_widget.py
index f5155fb54..aabc9e356 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]:
-- 
GitLab