From 5ac3a8566043733f969a1619a58014e61dba3c2e Mon Sep 17 00:00:00 2001 From: Lan <ldam@passcal.nmt.edu> Date: Fri, 18 Aug 2023 15:14:17 -0600 Subject: [PATCH] clear plots before replot() --- sohstationviewer/view/main_window.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sohstationviewer/view/main_window.py b/sohstationviewer/view/main_window.py index c957bb2e0..2e47c78a8 100755 --- a/sohstationviewer/view/main_window.py +++ b/sohstationviewer/view/main_window.py @@ -772,6 +772,7 @@ class MainWindow(QtWidgets.QMainWindow, UIMainWindow): Plot using data from self.data_object with the current options set from GUI """ + self.clear_plots() if self.has_problem: return self.is_plotting_soh = True -- GitLab