Metadata-Version: 2.1
Name: hockey_rink
Version: 1.1.4
Summary: A Python library for plotting hockey rinks with Matplotlib.
Home-page: https://github.com/the-bucketless/hockey_rink
Author: The Bucketless
Author-email: thebucketless@protonmail.com
License: GNU General Public License v3 (GPLv3)
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Matplotlib
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: matplotlib
Requires-Dist: numpy
Requires-Dist: pillow

![](images/hockey-rink-logo.png)

A Python library for plotting hockey rinks with Matplotlib.

## Installation
```pip install hockey-rink```

## Example Notebooks

### [Drawing](examples/drawing.ipynb)

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

![](images/dark-theme-rink.png)

### [Plotting](examples/plotting.ipynb)

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

![](images/binned-plots.png)

### [Animating](examples/animating.ipynb)

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

![](images/animation-example.gif)

## Inspiration
This project was partly inspired by [mplsoccer](https://github.com/andrewRowlinson/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](https://twitter.com/the_bucketless) or email me at thebucketless@protonmail.com.
