Skip to content

seidlr/voila-interactive-football-pitch

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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

Binder

Notebook in Binder

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
voila

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

About

A short example notebook on how Jupyter voila and ipywidgets like qgrid and bqplot can be used to create an interactive football pitch.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published