Note
Go to the end to download the full example code.
Set-piece volume: stacked area
A stacked area chart of set-piece attempts over match time, binned into
15-minute windows, one band per type – a volume read of the match:
which restart types made up the bulk of the traffic in each phase of
the game, and whether that mix shifted. Different from
plot_match_timeline()’s individual dots
(unaggregated) and plot_set_piece_value_flow()’s
cumulative line (one signed value, not a volume breakdown by type).
fig, ax = plot_type_area_timeline(events, title="Set-piece volume through the match")