/nbashots

NBA shot charts using matplotlib, seaborn, and bokeh.

Primary LanguageJupyter NotebookBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

nbashots

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