From 942350ed5ab3756b63442895a68b055ddf377b98 Mon Sep 17 00:00:00 2001 From: Andi <andi.gerken@gmail.com> Date: Thu, 27 Jul 2023 18:05:02 +0200 Subject: [PATCH] fixed matplotlib issue --- src/robofish/io/file.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/robofish/io/file.py b/src/robofish/io/file.py index b81711a..d6ce9bd 100644 --- a/src/robofish/io/file.py +++ b/src/robofish/io/file.py @@ -37,7 +37,7 @@ import platform import matplotlib import matplotlib.pyplot as plt -import matplotlib.cm as cm +import matplotlib.cm from matplotlib import animation from matplotlib import patches @@ -928,7 +928,7 @@ class File(h5py.File): else: step_size = poses.shape[1] - cmap = cm.get_cmap(cmap) + cmap = matplotlib.cm.get_cmap(cmap) x_world, y_world = self.world_size if figsize is None: -- GitLab