Skip to content
A short example notebook on how Jupyter voila and ipywidgets like qgrid and bqplot can be used to create an interactive football pitch.
Jupyter Notebook
Branch: master
Clone or download
Robert Seidl
Latest commit 6179961 Jun 19, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore First commit Jun 19, 2019
Interactive-Football-Pitch.ipynb First commit Jun 19, 2019
LICENSE First commit Jun 19, 2019
Procfile First commit Jun 19, 2019 Add binder link to serve notebook with voila Jun 19, 2019
environment.yml First commit Jun 19, 2019
pitch.png First commit Jun 19, 2019
requirements.txt First commit Jun 19, 2019
runtime.txt First commit Jun 19, 2019

Interactive Football Pitch Using Jupyter Voila

Jupyter voila allows to serve Jupyter notebooks, and especially ipywidgets, as standalone applications. 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.

The deployed notebook can be found here: Notebook on Heroku
(Be patient, it might need some time to spin up the dyno on Heroku.)

Voila in Binder


Notebook in Binder


Local installation

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

conda env update

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

conda activate voila-football-pitch

or run the notebook by

voila Interactive-Football-Pitch.ipynb

Deployment on Heroku

You can easily deploy the notebook to Heroku following these steps: First, follow the setup steps on Heroku: here Then run

heroku create
git push heroku master
You can’t perform that action at this time.