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

Uploaded Source

File details

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

File metadata

  • Download URL: hockey_rink-1.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 54df6e62c0eb2d271cb658bf1bb098a86ae8e0a3fb7b843093e1c29bb28255fb
MD5 5dec968fab14018f5806403b427e81e0
BLAKE2b-256 b9ba2883cbb21fb8b676dbe634343ebfb2ac983110bdcadf8e1c9459232beee7

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