Skip to content

Commit

Permalink
Use non-deprecated colormap in viewer cmap test (#3043)
Browse files Browse the repository at this point in the history
  • Loading branch information
jni committed Jul 14, 2021
1 parent 5dd37ec commit d228e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion napari/components/_tests/test_viewer_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']))
Expand Down

0 comments on commit d228e49

Please sign in to comment.