floodlight.vis

A collection of plotting functions based on the matplotlib library.

Pitches

plot_football_pitch

Plots a football pitch on a given matplotlib.axes.

plot_handball_pitch

Plots a handball pitch on a given matplotlib.axes.

Positions

plot_positions

Scatter plots positions for a given frame of an XY object on a matplotlib.axes.

plot_trajectories

Draws the trajectories of an XY object from a given time interval on a matplotlib.axes.