diff --git a/holonote/tests/test_display.py b/holonote/tests/test_display.py index cef4514..8865cb0 100644 --- a/holonote/tests/test_display.py +++ b/holonote/tests/test_display.py @@ -19,7 +19,7 @@ def test_get_indices_by_position_nearest_2d_point_threshold(self, annotator_poin annotator_point2d.set_regions(x=x, y=y) annotator_point2d.add_annotation(description=description) display = annotator_point2d.get_display("x", "y") - indices = display.get_indices_by_position(x=x + 0.5, y=y + 0.5) + indices = display.get_indices_by_position(x=x + 1.5, y=y + 1.5) assert len(indices) == 0 display._nearest_2d_point_threshold = 5