From 70fb075ad7376b2a487d84da0d1067d20b7520d3 Mon Sep 17 00:00:00 2001 From: Dominik Demuth Date: Wed, 10 Jan 2024 14:47:13 +0100 Subject: [PATCH] remove unnecessary prints --- src/gui_qt/fit/result.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gui_qt/fit/result.py b/src/gui_qt/fit/result.py index 01f44ee..eeaa56b 100644 --- a/src/gui_qt/fit/result.py +++ b/src/gui_qt/fit/result.py @@ -229,20 +229,16 @@ class QFitResult(QtWidgets.QDialog, Ui_Dialog): self.fit_plot.enableAutoRange() def _plot_residuals(self, idx: str = None): - print(idx) if idx is None or isinstance(idx, QtWidgets.QAbstractButton): idx = self.sets_comboBox.currentData(QtCore.Qt.ItemDataRole.UserRole) res = self._results[idx] if res.iscomplex: if self.rel_dev_button.isChecked(): - print('rel') self.resid_graph.setData(x=res.x_data, y=res.residual.real/np_abs(res.y_data.real)) - print(res.y_data.imag) if all(np_isfinite(res.y_data.imag)): self.resid_graph_imag.setData(x=res.x_data, y=res.residual.imag/np_abs(res.y_data.imag)) else: - print('abs') self.resid_graph.setData(x=res.x_data, y=res.residual.real) self.resid_graph_imag.setData(x=res.x_data, y=res.residual.imag)