Nbashots
NBA shot charts using matplotlib, seaborn, and bokeh.
Install / Use
/learn @savvastj/NbashotsREADME
nbashots
<div class="row"> <img src="https://i.imgur.com/Hg4gg6T.png" height="255" width="261"> <img src="https://i.imgur.com/Fc3ZTTP.png" height="255" width="261"> <img src="https://i.imgur.com/xw0Jlm3.png" height="255" width="261"> </div>nbashots is a library that is built on top of matplotlib, seaborn, and
bokeh in order to create a variety of NBA shot charts using Python.
nbashots allows for easy access to the NBA stats API in order to extract
the necessary data for creating shot charts.
Just note that this library is in early development but it should work for Python 2.7 and 3.3+. Most of the code is based on my blog post.
Requirements
- Python 2.7 or 3.3+
Mandatory packages
Installation
To install just run:
pip install nbashots
Tutorial
You can check out a tutorial I wrote up over here.
TODO
- Finish up the documentation and create a readthedocs page.
- Write tests.
License
Released under BSD 3-clause License
Related Skills
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
