Skip to content

Commit

Permalink
Fix scatter test?
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby committed Jul 12, 2024
1 parent bae5416 commit 912ca09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/napari_matplotlib/tests/scatter/test_scatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test_scatter_2D(make_napari_viewer, astronaut_data):
viewer.add_image(astronaut_data[0], **astronaut_data[1], name="astronaut")

viewer.add_image(
astronaut_data[0] * -1, **astronaut_data[1], name="astronaut_reversed"
255 - astronaut_data[0], **astronaut_data[1], name="astronaut_reversed"
)
# De-select existing selection
viewer.layers.selection.clear()
Expand All @@ -36,7 +36,7 @@ def test_scatter_3D(make_napari_viewer, brain_data):
viewer.add_image(brain_data[0], **brain_data[1], name="brain")

viewer.add_image(
brain_data[0] * -1, **brain_data[1], name="brain_reversed"
255 -brain_data[0], **brain_data[1], name="brain_reversed"
)
# De-select existing selection
viewer.layers.selection.clear()
Expand Down

0 comments on commit 912ca09

Please sign in to comment.