From 7284161420ee092e60e30add216715f614d9c59c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 12 Sep 2024 16:12:46 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/iminuit/ipywidget.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/iminuit/ipywidget.py b/src/iminuit/ipywidget.py index 6a9a8162..263af10a 100644 --- a/src/iminuit/ipywidget.py +++ b/src/iminuit/ipywidget.py @@ -30,7 +30,6 @@ class IPyWidget(HBox): def __init__(self, minuit, plot, kwargs, raise_on_exception): - def plot_with_frame(args, from_fit, report_success): trans = plt.gca().transAxes try: @@ -190,9 +189,7 @@ def on_opt_toggled(self, change): reset_button = Button(description="Reset") reset_button.on_click(on_reset_button_clicked) - algo_choice = Dropdown( - options=["Migrad", "Scipy", "Simplex"], value="Migrad" - ) + algo_choice = Dropdown(options=["Migrad", "Scipy", "Simplex"], value="Migrad") ui = VBox( [