Skip to content
matplotlib: plotting with Python
Python C++ Jupyter Notebook Objective-C JavaScript C Other
Branch: master
Clone or download
anntzer fix warning used by cbook.warn_deprecated() (#15302)
fix warning used by cbook.warn_deprecated()
Latest commit 95d89fe Sep 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Merge pull request #14629 from dstansby/circle-ci-delete-sources Jul 15, 2019
.github Create FUNDING.yml Jun 4, 2019
LICENSE Backport PR #14425: Lic restore license paint Jun 3, 2019
ci CI: fix env on windows Aug 27, 2019
doc Document How-to figure empty (#15297) Sep 21, 2019
examples Embedding in Tk example: Fix toolbar being clipped. (#15266) Sep 15, 2019
extern DOC: Make abbreviation of versus consistent. Jul 30, 2019
lib fix warning used by cbook.warn_deprecated() Sep 21, 2019
requirements Force html4 writer for sphinx 2 Sep 5, 2019
src Add an rcParam to restore old kerning behaviour. Aug 23, 2019
tools Merge pull request #15201 from anntzer/autogcai Sep 20, 2019
tutorials Merge pull request #15273 from jklymak/doc-fix-transform-tut Sep 16, 2019
.appveyor.yml Drop mention of msinttypes in Windows build. Sep 9, 2019
.coveragerc Add branch coverage; exclude _version.py from coverage. Feb 21, 2017
.flake8 Exclude s-g generated files from flake8 check. Sep 7, 2019
.gitattributes Remove old low-res icon Jul 20, 2019
.gitignore highlight rcparams Aug 24, 2019
.lgtm.yml Exclude examples from lgtm analysis Sep 20, 2018
.mailmap MNT: add one more alias for tacaswell to mailmap Dec 20, 2018
.meeseeksdev.yml Give Carreau the ability to mention the backport bot. Sep 21, 2018
.travis.yml Update .travis.yml Jul 15, 2019
INSTALL.rst Drop mention of msinttypes in Windows build. Sep 9, 2019
MANIFEST.in Remove non-existant files from MANIFEST.IN May 31, 2018
README.rst Make citation bit of README less wordy Aug 13, 2019
azure-pipelines.yml CI: set up OSX and windows azure pipelines Aug 26, 2019
matplotlibrc.template Merge pull request #15108 from anntzer/formatterlimits Aug 23, 2019
pytest.ini Move most of pytest's conf to conftest.py. Jul 1, 2019
setup.cfg.template BLD: Switch to static linking by default on windows Aug 27, 2019
setup.py Merge pull request #13543 from anntzer/zip_safe Aug 25, 2019
setupext.py BLD: Switch to static linking by default on windows Aug 27, 2019
tests.py Deprecate the useless switch_backend_warn parameter to matplotlib.test. Apr 12, 2019
tox.ini CI: Add separate test environment for pytz Jul 8, 2018
versioneer.py Fix some more invalid string escapes. Jul 16, 2018

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

Install

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.

Test

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

Citing Matplotlib

If Matplotlib contributes to a project that leads to publication, please acknowledge this by citing Matplotlib. A ready-made citation entry is available.

You can’t perform that action at this time.