From d228e49aa361773f5ce0083c6d64d836fbdcc401 Mon Sep 17 00:00:00 2001 From: Juan Nunez-Iglesias Date: Thu, 15 Jul 2021 01:24:29 +1000 Subject: [PATCH] Use non-deprecated colormap in viewer cmap test (#3043) --- napari/components/_tests/test_viewer_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/napari/components/_tests/test_viewer_model.py b/napari/components/_tests/test_viewer_model.py index b76b2b443d8..f2b7218590d 100644 --- a/napari/components/_tests/test_viewer_model.py +++ b/napari/components/_tests/test_viewer_model.py @@ -47,7 +47,7 @@ def test_add_image_colormap_variants(): assert viewer.add_image(data, colormap='green') # as string that is valid, but not a default colormap - assert viewer.add_image(data, colormap='cubehelix') + assert viewer.add_image(data, colormap='fire') # as tuple cmap_tuple = ("my_colormap", Colormap(['g', 'm', 'y']))