diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cd7462ba873ae7e6c4ecf5b930f06d41d7f539fd..1ffc452e989e72155ab4866bb2f7e2e42cbec40d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,8 +8,8 @@ stages: tags: [linux, docker] image: git.imp.fu-berlin.de:5000/bioroboticslab/auto/ci/centos:latest -#.macos: -# tags: [macos, shell] +.macos: + tags: [macos, shell] .windows: tags: [windows, docker] @@ -50,9 +50,9 @@ package: extends: .centos <<: *test -#"test: [macos, 3.8]": -# extends: .macos -# <<: *test +"test: [macos, 3.8]": + extends: .macos + <<: *test "test: [windows, 3.8]": extends: .windows diff --git a/src/robofish/io/file.py b/src/robofish/io/file.py index a75927cd7ce09240a7c81bb9bd5c4566a506b9de..acdec48ef0f7130bc8f2681e238c096d3b7d9e4c 100644 --- a/src/robofish/io/file.py +++ b/src/robofish/io/file.py @@ -37,6 +37,7 @@ import platform import matplotlib import matplotlib.pyplot as plt +import matplotlib.cm as cm from matplotlib import animation from matplotlib import patches @@ -909,7 +910,7 @@ class File(h5py.File): else: step_size = poses.shape[1] - cmap = matplotlib.colormaps[cmap] + cmap = cm.get_cmap(cmap) x_world, y_world = self.world_size if figsize is None: