Plotting¶
The baglab.plot module provides ready-made plots for common visualizations.
All functions use matplotlib and return (fig, ax) tuples for further customization.
Time series¶
Trajectory¶
fig, ax = baglab.plot_xy_trajectory(x, y)
fig, ax = baglab.plot_xy_trajectory(x, y, color_by=speed) # color by scalar