Skip to content

Commit 99f7b7d

Browse files
committed
Add note on xy test values
1 parent 2c8bb0d commit 99f7b7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/tests/test_image.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@ def test_cursor_data():
366366

367367

368368
@pytest.mark.parametrize("xy, data", [
369+
# x/y coords chosen to be 0.5 above boundaries so they lie within image pixels
369370
[[0.5, 0.5], 0 + 0],
370371
[[0.5, 1.5], 0 + 1],
371372
[[4.5, 0.5], 16 + 0],

0 commit comments

Comments
 (0)