From c54c2d9edb6513e286b43aa346864815f68414b3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 12 Dec 2024 00:55:32 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/iminuit/qtwidget.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/iminuit/qtwidget.py b/src/iminuit/qtwidget.py index ecdb108d..ae26b30f 100644 --- a/src/iminuit/qtwidget.py +++ b/src/iminuit/qtwidget.py @@ -343,7 +343,6 @@ def on_parameter_change(self, from_fit=False, report_success=False): else: self.results_text.clear() - plt.clf() plt.gcf().set_size_inches(self.figsize) self.plot_with_frame(from_fit, report_success)