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.4.tar.gz (41.6 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: hockey_rink-1.1.4.tar.gz
  • Upload date:
  • Size: 41.6 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.4.tar.gz
Algorithm Hash digest
SHA256 0b8c4a76a64787103e33c333831115be1ea20ad97086958dff09cf07ef66e033
MD5 577008215a37fdbf85f7ad6c8bb6abb0
BLAKE2b-256 81395e8e91bc71093f51da89c3572280567af73ff433436264897e830ccf8bcb

See more details on using hashes here.

Supported by

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