From a1ab6335c5d0d2875ac9cd127e1f7288734faca2 Mon Sep 17 00:00:00 2001 From: Dominik Demuth Date: Fri, 19 May 2023 13:25:56 +0200 Subject: [PATCH] remove remnants of fitresult redesign; closes #68 --- src/gui_qt/fit/result.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui_qt/fit/result.py b/src/gui_qt/fit/result.py index 7bb927b..22ef2a1 100644 --- a/src/gui_qt/fit/result.py +++ b/src/gui_qt/fit/result.py @@ -153,7 +153,7 @@ class QFitResult(QtWidgets.QDialog, Ui_Dialog): def set_plot(self, idx: str): if self.last_idx is not None: self.graph_opts[self.last_idx] = ( - self.fit_plot.getPlotItem().viewRange(), + self.fit_plot.viewRange(), self.logx_box.isChecked(), self.logy_box.isChecked(), )