Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python.


Matplotlib 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 shell, web application servers, and various graphical user interface toolkits.


For installation instructions and requirements, see INSTALL.rst or the install documentation.


After installation, launch the test suite:

python -m pytest

Read the testing guide for more information and alternatives.