Skip to content

Functions to make it easy to plot and record rugby analytics

License

Notifications You must be signed in to change notification settings

Maverick9320/rugby.python-viz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏉 Rugby Python

Python Jupyter JupyterNbook

This package is used in conjunction with matplotlib to make it easy to plot field lines for both rugby union and rugby league pitches. There are plans for functionality to include adding zones and kick plotting.

This project is a WIP and more stuff will be added through 2023 to offer more functionality.

⏬ Installation

This pip package is obsolete and deprecated. It will soon be updated.

To install the old package you can use: pip install Rugby

🛠️ Functionality

Field Dimensions: 100x70

import matplotlib.pyplot as plt

plot=plt.figure(figsize=(10, 7))
ax=plot.add_subplot()

x = field()
x.league_pitch(poles=True, pitch_color='white', line_color='black', line_style='-', line_alpha=0.75)  
x.zones()

About

Functions to make it easy to plot and record rugby analytics

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published