From 6a7afe3d8fb103f72cd52c9e2168a46f94fdccf8 Mon Sep 17 00:00:00 2001
From: marc131183 <marcg99@zedat.fu-berlin.de>
Date: Wed, 3 Mar 2021 14:22:47 +0100
Subject: [PATCH] changed tankpositions, to avoid future warning

---
 src/robofish/evaluate/evaluate.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/robofish/evaluate/evaluate.py b/src/robofish/evaluate/evaluate.py
index f3d0e99..4db49e8 100644
--- a/src/robofish/evaluate/evaluate.py
+++ b/src/robofish/evaluate/evaluate.py
@@ -321,7 +321,7 @@ def evaluate_tankpositions(paths, names=None, save_path=None, predicate=None):
         ax[i].set_xlim(-world_bounds[i][0] / 2, world_bounds[i][0] / 2)
         ax[i].set_ylim(-world_bounds[i][1] / 2, world_bounds[i][1] / 2)
 
-        sns.kdeplot(x_pos[i], y_pos[i] * (-1), n_levels=25, shade=True, ax=ax[i])
+        sns.kdeplot(x=x_pos[i], y=y_pos[i] * (-1), n_levels=25, shade=True, ax=ax[i])
 
     if save_path is None:
         plt.show()
-- 
GitLab