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.3.tar.gz
.
File metadata
- Download URL: hockey_rink-1.1.3.tar.gz
- Upload date:
- Size: 41.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea7e1169405fc51bb2152bef4ee20ed48ce65eada9aa01c81a12cf8be8df255a |
|
MD5 | 0d52eb3191e8db3e861e155035eda66b |
|
BLAKE2b-256 | b12cd256c367832bafa457a6d6f5d6a2b117e8aae77804218750ce77c8b60fc6 |