Skip to content
matplotlib: plotting with Python
Python C++ Jupyter Notebook Objective-C JavaScript C Other
Branch: master
Clone or download
Latest commit 0da3863 Dec 24, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci CI: add py38 to circle Oct 20, 2019
.github Update FUNDING.yml Nov 13, 2019
LICENSE Remove outdated license files. Nov 10, 2019
ci Simplify azure setup. Nov 7, 2019
doc Merge pull request #15995 from timhoffm/remove-3.1-deprecations3 Dec 23, 2019
examples Add test. Dec 22, 2019
extern DOC: Make abbreviation of versus consistent. Jul 30, 2019
lib Merge pull request #15719 from anntzer/templatize-spectral-wrappers Dec 24, 2019
requirements Bump numpy dependency to >=1.15. Nov 15, 2019
src Process clip paths the same way as regular Paths. Dec 18, 2019
tools Suppress triage_tests warning on Py3.8. Nov 19, 2019
tutorials Do not use "object" or "instance" when documenting types Dec 16, 2019
.appveyor.yml Default to local_freetype builds. Oct 22, 2019
.coveragerc Add branch coverage; exclude _version.py from coverage. Feb 21, 2017
.flake8 Example for axhline and axvline (#15914) Dec 16, 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 ffmpeg is available on default ubuntu packages now. Dec 7, 2019
INSTALL.rst Be more opinionated for setting up a dev env. Dec 20, 2019
MANIFEST.in Remove non-existant files from MANIFEST.IN May 31, 2018
README.rst Update badges in README.rst Nov 24, 2019
azure-pipelines.yml ffmpeg is available on default ubuntu packages now. Dec 7, 2019
matplotlibrc.template Remove references to scipy cookbook. Dec 19, 2019
pytest.ini Move most of pytest's conf to conftest.py. Jul 1, 2019
setup.cfg.template Remove logic for optionally building Agg and TkAgg. Nov 4, 2019
setup.py Bump numpy dependency to >=1.15. Nov 15, 2019
setupext.py Remove logic for optionally building Agg and TkAgg. Nov 4, 2019
tests.py Deprecate the useless switch_backend_warn parameter to matplotlib.test. Apr 12, 2019
tox.ini Default to local_freetype builds. Oct 22, 2019
versioneer.py Fix some more invalid string escapes. Jul 16, 2018

README.rst

PyPi Downloads NUMFocus

DiscourseBadge Gitter GitHubIssues GitTutorial

Travis AzurePipelines AppVeyor Codecov LGTM

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

Discourse is the discussion forum for general questions and discussions and our recommended starting point.

Our active mailing lists (which are mirrored on Discourse) are:

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.