From 0a678d3c1bb837e5c0f82af8ef24d877f1b3e608 Mon Sep 17 00:00:00 2001 From: y0z Date: Mon, 20 May 2024 17:57:29 +0900 Subject: [PATCH] Apply ruff format --- recipes/001_first.py | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/001_first.py b/recipes/001_first.py index cf36c74c..311a2e74 100644 --- a/recipes/001_first.py +++ b/recipes/001_first.py @@ -152,6 +152,7 @@ def plot_optimizaiton_history(study: optuna.study.Study) -> go.Figure: # If you use `matplotlib` (https://matplotlib.org/) for visualization, the function should return a `matplotlib.figure.Figure` object. + def plot_optimizaiton_history_matplotlib(study: optuna.study.Study) -> plt.Figure: trials = study.trials best_values = [trial.value for trial in trials]