by savvastj

savvastj / nbashots

NBA shot charts using matplotlib, seaborn, and bokeh.

135 Stars 33 Forks Last release: Not found BSD 3-Clause "New" or "Revised" License 18 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


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.
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.


  • Python 2.7 or 3.3+

Mandatory packages


To install just run:

pip install nbashots


You can check out a tutorial I wrote up over here.


  • Finish up the documentation and create a readthedocs page.
  • Write tests.


Released under BSD 3-clause License

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.