Home

Awesome

A Python library for plotting hockey rinks with Matplotlib.

Installation

pip install hockey-rink

Example Notebooks

Drawing

This notebook shows how to customize rinks and draw them. This includes a dark-theme rink.

Plotting

Plotting is mainly done through wrappers for Matplotlib plotting methods. This notebook shows each of the currently available methods.

Animating

The final example notebook shows how to use the package to make animations.

Inspiration

This project was partly inspired by mplsoccer.

Hopefully, it can make things a little easier for anyone looking to get involved in hockey analytics.

Contact

You can find me on twitter @the_bucketless or email me at thebucketless@protonmail.com.