Skip to content

Commit

Permalink
Fix black code style errors
Browse files Browse the repository at this point in the history
  • Loading branch information
thouska committed Sep 8, 2022
1 parent 0831d3b commit a458d16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spotpy/analyser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit a458d16

Please sign in to comment.