Skip to content

Commit 8f282aa

Browse files
committed
change trajectory inputs, replace keypoint and individual with selection, remove title
1 parent 0087615 commit 8f282aa

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/test_unit/test_plot.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,11 @@ def test_trajectory(sample_data, image, tmp_path):
8282
kwargs = {"image_path": image_path}
8383
else:
8484
kwargs = {"image_path": None}
85-
da_position = sample_data.position
86-
_, ax_centre = trajectory(da_position, keypoint="centre", **kwargs)
85+
_, ax_centre = trajectory(
86+
sample_data.position, keypoint="centre", **kwargs
87+
)
8788
_, ax_left_right = trajectory(
88-
da_position, keypoint=["left", "right"], **kwargs
89+
sample_data.position, keypoint=["left", "right"], **kwargs
8990
)
9091

9192
expected_data = np.array([[0, 0], [0, 1], [0, 2], [0, 3]], dtype=float)

0 commit comments

Comments
 (0)