Matplotlib is a Python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms. Matplotlib can be used in Python scripts, the Python and IPython shells, the Jupyter notebook, web application servers, and four graphical user interface toolkits.
Instructions can be found here If the installation doesn't work, try
This tutorial is inspired by and steals liberally from Benjamin Root's fantastic Anatomy of Matplotlib tutorial. It also borrows some things from Rachel Rakov & Hannah Aizenman's Introduction to Machine Learning with Sklearn.
The authors are also grateful to Michael Grossberg for his liberal feedback and heatmap data set suggestion, Sadie Bartholomew for inspiring a coding challenge with her gorgeous tweet, and tutoral participant Dershan Luo for the install check bug fix. :)