Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_trajectory():
data = imgviz.data.kitti_odometry()
img = imgviz.trajectory.plot_trajectory(data["transforms"])
assert isinstance(img, np.ndarray)
def plot_trajectory():
data = imgviz.data.kitti_odometry()
img = imgviz.plot_trajectory(data["transforms"])
return img