Skip to content
matplotlib: plotting with Python http://matplotlib.org/
Python C++ Objective-C C JavaScript Jupyter Notebook Other
Latest commit 600464d @pelson pelson Merge pull request #5951 from efiring/tk_raise
tkagg: raise each new window; partially addresses #596
Failed to load latest commit information.
LICENSE Remove no longer used Scikit image code
ci CI: work around some conda and appveyor issues
doc Merge remote-tracking branch 'matplotlib/v2.x'
examples Merge remote-tracking branch 'matplotlib/v2.x' into realmaster
extern Revert change. Didn't mean to modify extern
lib Merge pull request #5951 from efiring/tk_raise
release/win32/data Merged from main/master
src Fix #5944: Fix PNG writing from notebook backend
tools Bugfix for Python 2
unit Fix SyntaxError on Python 3
.coveragerc Correct path to excluded files
.gitattributes Made use of versioneer, with a few modifications.
.gitignore gitignore: add copied windows lib/*.lib
.mailmap Fix Jeff Lutgen's email address
.travis.yml Merge pull request #5872 from jenshnielsen/sphinx134
CHANGELOG Merge pull request #5485 from ianthomas23/5477_contour_decreasing_levels
CONTRIBUTING.md More minor fixes based on feedback in the PR.
INSTALL Merge remote-tracking branch 'matplotlib/v2.x'
MANIFEST.in BLD: include tests.py in sdist
Makefile Change matplotlib's nose dependency to a test dependency
README.osx Merge pull request #4465 from tacaswell/doc_brew_pkgconfig
README.rst Change way to run tests in readme
README.win.md CI: enable local freetype and use conda forge functools on py27
appveyor.yml CI/Appveyor: do not silence 7z too much
boilerplate.py Use getfullargspec on python3
build_alllocal.cmd CI: enable local freetype and use conda forge functools on py27
distribute_setup.py Fix PEP8 coding style violations
license.py Fix PEP8 coding style violations
matplotlibrc.template MNT: use string.Template for matplotlibrc.template
patched_bdist_wheel.py BLD: use patched bdist_wheel
setup.cfg.template Merge pull request #5306 from mdboom/local-freetype
setup.py Merge remote-tracking branch 'matplotlib/v2.x'
setup_external_compile.py CI: remove unneeded functions for local freetype build
setupext.py CI/Win: also build a local freetype on py27 64bit
test.txt CI/Appveyor: do not silence 7z too much
test_only.py Fix memory leaks in the test suite.
tests.py Merge remote-tracking branch 'matplotlib/v2.x'
tox.ini Change matplotlib's nose dependency to a test dependency
versioneer.py Made use of versioneer, with a few modifications.
visual_tests.py TST: add helper script to compare images in the browser

README.rst

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 (ala matlab or mathematica), web application servers, and various graphical user interface toolkits.

Home page

Installation

For installation instructions and requirements, see the INSTALL file.

Testing

After installation, you can launch the test suite:

python tests.py

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 nose and on python 2.7 mock which are not installed by default. 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.

Something went wrong with that request. Please try again.