From a458d160e4a36f8653af50ca93f3b3ef36ba6c15 Mon Sep 17 00:00:00 2001 From: thouska Date: Thu, 8 Sep 2022 13:22:16 +0200 Subject: [PATCH] Fix black code style errors --- src/spotpy/analyser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spotpy/analyser.py b/src/spotpy/analyser.py index e39e50a2..3b04833d 100644 --- a/src/spotpy/analyser.py +++ b/src/spotpy/analyser.py @@ -625,9 +625,9 @@ def plot_heatmap_griewank(results, algorithms, fig_name="heatmap_griewank.png"): x, y = np.meshgrid(x, y) - z = 1 + (x ** 2 + y ** 2) / 4000 - np.cos(x / np.sqrt(2)) * np.cos(y / np.sqrt(3)) + z = 1 + (x**2 + y**2) / 4000 - np.cos(x / np.sqrt(2)) * np.cos(y / np.sqrt(3)) - cmap = plt.get_cmap("autumn") + plt.get_cmap("autumn") rows = 2 for i in range(subplots):