Records the extent of one or more axes, keyed by axis role — the height of
the video frame for y, its width for x. Roles not named keep the extent
they had.
The extent is what set_axis_directions() reflects around when an axis is
turned over: new = extent - old.
Examples
af <- example_aniframe(n_obs = 3, n_individuals = 1, n_keypoints = 1)
af <- set_axis_extents(af, c(x = 1920, y = 1080))
get_axis_extents(af)
#> x y
#> 1920 1080