Skip to content

seidlr/fotd-interactive-football-pitch

Repository files navigation

Interactive Football Pitch Using Jupyter Widgets

Jupyter widgets allow to add interactivity to Jupyter notebooks. This repository contains an example notebook which uses qgrid and bqplot to create a simple interactive football pitch. You can test it live in Binder or run it locally.

Interactive Football Pitch Demo

Run in Binder

If you do not want to clone the repository, you can just launch a notebook online using Binder. Binder

Local installation

Make sure you have Anaconda installed. If not, you can follow the tutorial here: Setting Up to do Data Science

  1. Clone or download this repository:
git clone https://github.com/seidlr/fotd-interactive-football-pitch.git

Then, change into the new directory

cd fotd-interactive-football-pitch

To run the example notebook, first create a conda environment.

conda env update

This creates an environment fotd-interactive-football-pitch which can be used in a jupyter notebook. Next, activate the environment and start the notebook.

conda activate fotd-interactive-football-pitch
jupyter notebook Interactive-Football-Pitch.ipynb

About

An example of an interactive football pitch visualising tracking data using Jupyter widgets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published