Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hockey_rink-1.1.0.tar.gz (41.4 kB view details)

Uploaded Source

File details

Details for the file hockey_rink-1.1.0.tar.gz.

File metadata

  • Download URL: hockey_rink-1.1.0.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

Hashes for hockey_rink-1.1.0.tar.gz
Algorithm Hash digest
SHA256 ecc20dd5740d86f54b37292048ff70f537db13c5f4014a0c2e044893f52de61c
MD5 23b639ef6a35b7d1c5654a316dbdb16f
BLAKE2b-256 bf5917e359c579f4d8d00539ac6bf5d10fa7acc12bf3585fe10ef2a01951fe7d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page