A Python library for plotting hockey rinks with Matplotlib.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file hockey_rink-1.1.2.tar.gz
.
File metadata
- Download URL: hockey_rink-1.1.2.tar.gz
- Upload date:
- Size: 41.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d696631a4b1e5f2d5864e0309ef96aa6477e81281a0c0f4319d837d3976842b |
|
MD5 | 227acab6c751fc95c691389867f3364f |
|
BLAKE2b-256 | 830aa8c37817cef537334660345e10e000232201be77b77825bce3b899bbf1a0 |