Skip to content

Commit

Permalink
Use layers[image][cmap] in TestStandaloneImageViewer
Browse files Browse the repository at this point in the history
  • Loading branch information
dhomeier committed Oct 31, 2022
1 parent 44de634 commit 4f9a42a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glue/plugins/tools/pv_slicer/qt/tests/test_pv_slicer.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def test_set_cmap(self):
cm_mode = self.w.toolbar.tools['image:colormap']
act = cm_mode.menu_actions()[1]
act.trigger()
assert self.w._composite.layers['image']['color'] is act.cmap
assert self.w._composite.layers['image']['cmap'] is act.cmap

def test_double_set_image(self):
assert len(self.w._axes.images) == 1
Expand Down

0 comments on commit 4f9a42a

Please sign in to comment.