matplotlib: plotting with Python
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.circleci Add CircleCI cache of user fonts. Jul 13, 2018
.github BLD: update PR template for flake8 Aug 22, 2018
LICENSE MNT/DOC: whitespace + updated example heading Aug 13, 2017
ci Simplify travis setup a bit. May 7, 2018
doc Merge pull request #11989 from anntzer/gs9 Sep 2, 2018
examples Fix typos Sep 5, 2018
extern Backport PR #11485: Use null character instead of recasting NULL to char Jun 22, 2018
lib Merge pull request #11972 from jklymak/fix-mem-leak-repeated=draw Sep 6, 2018
requirements/testing Unpin pandas in the CI. Jul 25, 2018
src FIX: macosx framework check Aug 14, 2018
tools Don't use bare execpt statements Sep 1, 2018
tutorials Fix typos Sep 5, 2018
.appveyor.yml DOC removed all mentions of tests.py Aug 4, 2018
.coveragerc Add branch coverage; exclude _version.py from coverage. Feb 21, 2017
.flake8 Fix some lgtm convention alerts Aug 28, 2018
.gitattributes Mark svg files as binary/generated in gitattributes. Sep 22, 2017
.gitignore Minor fixes to docs and gitignore. Aug 27, 2018
.mailmap Update credits.rst Jun 9, 2018
.travis.yml CI: re-jigger test matrix to include 3.7 Jul 22, 2018
INSTALL.rst Remove __version__numpy__; simplify dependencies check. Aug 31, 2018
MANIFEST.in Remove non-existant files from MANIFEST.IN May 31, 2018
README.rst Add LGTM.com code quality badge Aug 23, 2018
build_alllocal.cmd DOC: Remove pytz from documentation Jul 8, 2018
doc-requirements.txt Sort gallery subsections by explicit list then by filename May 16, 2018
matplotlibrc.template ENH: backend switching. Aug 6, 2018
pytest.ini TST: Run flake8 outside of pytest. Jul 8, 2018
setup.cfg.template FIX: Change default Autodatelocator *interval_multiples* Jul 4, 2018
setup.py Merge pull request #11965 from anntzer/wstrict-proto Aug 29, 2018
setupext.py Don't use bare execpt statements Sep 1, 2018
tests.py Use raw strings to avoid invalid escape sequences. Jul 7, 2018
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 AppVeyor Codecov LGTM PyPi Gitter NUMFocus

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