matplotlib: plotting with Python
Python C++ Objective-C C JavaScript Jupyter Notebook Other
Latest commit 2a7f606 Jul 22, 2016 @tacaswell tacaswell committed on GitHub Merge pull request #6807 from anntzer/deprecate-cursorprops
API: Deprecate `{get,set}_cursorprops`.
Failed to load latest commit information.
.github First draft of issue template for matplotlib Feb 18, 2016
LICENSE Merge pull request #6245 from matplotlib/v1.5.x Mar 30, 2016
ci conda-recipe: Readd condaversion.patch Jul 5, 2016
doc Tweak linthreshy to avoid overlap of y-ticklabels Jul 17, 2016
examples 2.0 Examples fixes. See #6762 Jul 18, 2016
extern Merge pull request #6526 from QuLogic/ttconv-carriage-return Jun 13, 2016
lib Merge pull request #6807 from anntzer/deprecate-cursorprops Jul 22, 2016
release/win32/data Merged from main/master Aug 25, 2011
src Support returning polylines from to_polygons Jul 16, 2016
tools Add script to automatically generate icons Jun 1, 2016
unit General cleanups. Jun 10, 2016
.coveragerc Correct path to excluded files Nov 15, 2015
.gitattributes Made use of versioneer, with a few modifications. Sep 14, 2015
.gitignore gitignore: add copied windows lib/*.lib Jan 25, 2016
.mailmap Add Adrien F. Vincent to `.mailmap` Jul 3, 2016
.travis.yml Merge remote-tracking branch 'matplotlib/v2.x' Jul 13, 2016
CHANGELOG Merge pull request #5485 from ianthomas23/5477_contour_decreasing_levels Nov 17, 2015
CONTRIBUTING.md More minor fixes based on feedback in the PR. Nov 19, 2012
INSTALL Drop conditional import of figureoptions. Jun 17, 2016
MANIFEST.in BLD: include tests.py in sdist Jan 12, 2016
Makefile Change matplotlib's nose dependency to a test dependency Jul 11, 2015
README.osx Merge pull request #4465 from tacaswell/doc_brew_pkgconfig Jun 16, 2015
README.rst Added contribute information to readme Jul 17, 2016
README.win.md Update dependencies in tests and wheelbuild and remove pyqt Jul 3, 2016
appveyor.yml Appveyor: remove py27 workaround, conda build works Jul 17, 2016
boilerplate.py BF: remove remaining matplotlib.externals.six refs Jun 8, 2016
build_alllocal.cmd Fix local windows build script due to conda changes Jul 5, 2016
distribute_setup.py Fix PEP8 coding style violations Dec 16, 2014
license.py Fix PEP8 coding style violations Dec 16, 2014
matplotlibrc.template Add xkcd font as an option for font.fantasy Jul 22, 2016
setup.cfg.template Remove deprecated cocoaagg backend along with leftover refs to fltk Jun 14, 2016
setup.py Merge remote-tracking branch 'matplotlib/v2.x' Jul 13, 2016
setup_external_compile.py CI: remove unneeded functions for local freetype build Jan 26, 2016
setupext.py Merge remote-tracking branch 'matplotlib/v2.x' Jul 13, 2016
test_only.py Fix memory leaks in the test suite. Jul 15, 2014
tests.py Print byte-compilation level for debug Jul 12, 2016
tox.ini Change matplotlib's nose dependency to a test dependency Jul 11, 2015
versioneer.py Made use of versioneer, with a few modifications. Sep 14, 2015
visual_tests.py TST: Always use / in URLs for visual results. Feb 18, 2016

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.

Join the chat at https://gitter.im/matplotlib/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!

The easiest way to contribute is through GitHub; if interested in doing so, browse the development workflow guide.

If you don't want to submit your changes via Github, take a look at the guide to making patches.