Skip to content
matplotlib: plotting with Python
Branch: master
Clone or download
Pull request Compare This branch is 956 commits behind matplotlib:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
.github
LICENSE
ci
doc
examples
extern
lib
requirements/testing
src
tools
tutorials
.appveyor.yml
.coveragerc
.flake8
.gitattributes
.gitignore
.lgtm.yml
.mailmap
.meeseeksdev.yml
.travis.yml
INSTALL.rst
MANIFEST.in
README.rst
azure-pipelines.yml
build_alllocal.cmd
doc-requirements.txt
matplotlibrc.template
pytest.ini
setup.cfg.template
setup.py
setupext.py
tests.py
tox.ini
versioneer.py

README.rst

Travis AzurePipelines AppVeyor Codecov LGTM PyPi Gitter NUMFocus GitTutorial

Matplotlib

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 shell (à la MATLAB or Mathematica), web application servers, and various graphical user interface toolkits.

NOTE: The current master branch is now Python 3 only. Python 2 support is being dropped.

Home page

Installation

For installation instructions and requirements, see the INSTALL.rst file or the install documentation. If you think you may want to contribute to matplotlib, check out the guide to working with the source code.

Testing

After installation, you can launch the test suite:

pytest

Or from the Python interpreter:

import matplotlib
matplotlib.test()

Consider reading http://matplotlib.org/devel/coding_guide.html#testing for more information. Note that the test suite requires pytest. Please install with pip or your package manager of choice.

Contact

matplotlib's communication channels include active mailing lists:

The first is a good starting point for general questions and discussions.

Gitter is for coordinating development and asking questions directly related to contributing to matplotlib.

Contribute

You've discovered a bug or something else you want to change - excellent!

You've worked out a way to fix it – even better!

You want to tell us about it – best of all!

Start at the contributing guide!

Developer notes are now at Developer Discussions (Note: For technical reasons, this is currently only accessible for matplotlib developers.)

You can’t perform that action at this time.