wa-setpieces

Contents

  • Installation
    • Requirements
    • Input data
  • Quickstart
    • Load a match
    • Summarize every set piece
    • Plot the deliveries
    • Run the whole pipeline
    • Where next
  • By set piece
    • Corner
    • Free kick
    • Throw-in
    • Penalty
    • Goal kick
    • Kick off (coming soon)
    • Coverage matrix
  • By value model
    • How they connect
    • Expected Threat (xT)
    • Added value
    • Shot value (experimental, ML-based)
    • Team rating
    • Player rating
    • Defensive rating
  • By metric
    • Team and player counts
    • Delivery locations
    • Linking to shots and goals
    • The all-in-one summary
    • Zones, thirds and channels
  • By phase and outcome
    • Second phases
    • Retention
    • Outcomes
    • Aerial duels
  • By routine
    • Routine taxonomy
    • Data-driven clusters
    • Long throws
    • Penalty placement
  • By report and export
    • Self-contained HTML reports
    • CSV and Excel export
    • Command line
  • Gallery
    • Delivery map
    • Where deliveries end up: zone scatter and heatmaps
    • Second-phase corner sequences
    • Expected Threat (xT) for corners and free kicks
    • Possession retention after a restart
    • Team comparison: bars and a volume-vs-quality quadrant
    • xT added, ranked
    • Corner sonar
    • Match timeline and value flow
    • Set-piece report card
    • Set-piece added value
    • Corner/free-kick report + radar
    • Outcome shot map
    • Light and dark mode
    • Shot value (experimental)
    • Team and player set-piece ratings
    • The whole pipeline in one call
    • Delivery technique, post target, and data-driven routine clusters
    • What a team concedes most from corners
    • Aerial duel win rate at corners
    • Vertical pitch orientation
    • Outcome flow
    • Rating spread: beeswarm
    • Value waterfall
    • Value distribution: violins
    • Restart profile: radial bars
    • Success rate: waffle
    • Type and outcome: mosaic
    • Team profile: parallel coordinates
    • Team comparison: dumbbell
    • End zones: bubbles
    • KPI scorecard: bullet charts
    • Value distribution: ridgeline
    • Set-piece volume: stacked area
    • Success rate: ring
    • First half vs second half: slope chart
    • Delivery combinations: network
    • Delivery distance: histogram
    • Value distribution: box plot
  • Changelog
    • 1.0.0
    • 0.31.3
    • 0.31.2
    • 0.31.1
    • 0.31.0
    • 0.30.2
    • 0.30.1
    • 0.30.0
    • 0.29.1
    • 0.29.0
    • 0.28.0
    • 0.27.0
    • 0.26.0
    • 0.25.0
    • 0.24.0
    • 0.23.0
    • 0.22.0
    • 0.21.0
    • 0.20.0
    • 0.19.3
    • 0.19.2
    • 0.19.1
    • 0.19.0
    • 0.18.7
    • 0.18.6
    • 0.18.5
    • 0.18.4
    • 0.18.3
    • 0.18.2
    • 0.18.1
    • 0.18.0
    • 0.17.1
    • 0.17.0
    • 0.16.0
    • 0.15.0
    • 0.14.0
    • 0.13.0
    • 0.12.0
    • 0.11.0
    • 0.10.0
    • 0.9.0
    • 0.8.0
    • 0.7.0
    • 0.6.0
    • 0.5.1
    • 0.5.0
    • 0.4.0
    • 0.3.0
    • 0.2.0
    • 0.1.0
wa-setpieces
  • Gallery
  • View page source

Gallery

Runnable examples, each building a plot from a real match export (tests/data/sample_match.json, an Opta export) with mplsoccer. Click any example to see the full source.

Delivery map

Delivery map

Where deliveries end up: zone scatter and heatmaps

Where deliveries end up: zone scatter and heatmaps

Second-phase corner sequences

Second-phase corner sequences

Expected Threat (xT) for corners and free kicks

Expected Threat (xT) for corners and free kicks

Possession retention after a restart

Possession retention after a restart

Team comparison: bars and a volume-vs-quality quadrant

Team comparison: bars and a volume-vs-quality quadrant

xT added, ranked

xT added, ranked

Corner sonar

Corner sonar

Match timeline and value flow

Match timeline and value flow

Set-piece report card

Set-piece report card

Set-piece added value

Set-piece added value

Corner/free-kick report + radar

Corner/free-kick report + radar

Outcome shot map

Outcome shot map

Light and dark mode

Light and dark mode

Shot value (experimental)

Shot value (experimental)

Team and player set-piece ratings

Team and player set-piece ratings

The whole pipeline in one call

The whole pipeline in one call

Delivery technique, post target, and data-driven routine clusters

Delivery technique, post target, and data-driven routine clusters

What a team concedes most from corners

What a team concedes most from corners

Aerial duel win rate at corners

Aerial duel win rate at corners

Vertical pitch orientation

Vertical pitch orientation

Outcome flow

Outcome flow

Rating spread: beeswarm

Rating spread: beeswarm

Value waterfall

Value waterfall

Value distribution: violins

Value distribution: violins

Restart profile: radial bars

Restart profile: radial bars

Success rate: waffle

Success rate: waffle

Type and outcome: mosaic

Type and outcome: mosaic

Team profile: parallel coordinates

Team profile: parallel coordinates

Team comparison: dumbbell

Team comparison: dumbbell

End zones: bubbles

End zones: bubbles

KPI scorecard: bullet charts

KPI scorecard: bullet charts

Value distribution: ridgeline

Value distribution: ridgeline

Set-piece volume: stacked area

Set-piece volume: stacked area

Success rate: ring

Success rate: ring

First half vs second half: slope chart

First half vs second half: slope chart

Delivery combinations: network

Delivery combinations: network

Delivery distance: histogram

Delivery distance: histogram

Value distribution: box plot

Value distribution: box plot

Gallery generated by Sphinx-Gallery

Previous Next

© Copyright 2026, Waltzing Analytics.

Built with Sphinx using a theme provided by Read the Docs.