{"repo":"Sport-Performance-Lab/mplbasketball","free":true,"listed":false,"github":"https://github.com/Sport-Performance-Lab/mplbasketball","clone":"git clone https://github.com/Sport-Performance-Lab/mplbasketball.git","description":"Basketball plotting library for use with matplotlib","language":"Python","stars":91,"topics":["basketball","basketball-statistics","data-science","data-visualization","matplotlib","visualization"],"license":"MIT","category":"analytics","readme_excerpt":"A Python plotting library to visualize basketball data, created by the Sport Performance Lab (SPL) at Maple Leaf Sports & Entertainment (MLSE), Toronto, Canada. Sport Performance Lab (SPL) is a Research and Development group that works across all MLSE teams on strategic research initiatives in sports analytics and player performance. Quick start Install the package using pip (or pip3 ). Plot an NBA basketball court, with the origin at center court, and measuring in feet (currently \"ft\" and \"m\" are supported): Plot some points on the court: List of capabilities Currently, you can use mplbasketball to 1. Plot 2D and 3D spatio-temporal basketball data from 4 major basketball competitions 1. NBA 2. WNBA 3. NCAA 4. FIBA 2. View data in different orientations orientation (horizontal, vertical, and also normalized to left/right/up/down). The utils.transform function makes going between orientations extremely easy and seamless. 3. Easily interface with existing matplotlib functions. Before you begin Some notes on plotting data using mplbasketball : 1. Ensure your 2D data is in a right-handed coordinate system (RHCS). Many data providers (including the NBA) provide their data using left handed coordinate systems (LHCS). If you obtain data in an LHCS, simply flip the sign of all the y components (assuming data is left-right), making it compatible with plotting using mplbasketball . Usage The Court class The Court class comprises of the dimensions of the basketball court under considera","default_branch":null,"files":null,"tree":[],"storefront":"/r/Sport-Performance-Lab","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Sport-Performance-Lab/mplbasketball/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}