Skip to content
matplotlib: plotting with Python
Branch: master
Clone or download
jklymak Merge pull request #13989 from tacaswell/fix_hist_range_and_density
FIX: update not replace hist_kwargs when density is passed
Latest commit 9f891c6 Apr 19, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Move doc-requirements from root folder Jan 3, 2019
.github Add note about thread safety to FAQ. Jan 27, 2019
LICENSE MNT/DOC: whitespace + updated example heading Aug 13, 2017
doc Merge pull request #13978 from anntzer/normalize_kwargs Apr 18, 2019
examples Fix confidence_ellipse example markup (#13950) Apr 16, 2019
lib FIX: update not replace hist_kwargs when density is passed Apr 19, 2019
requirements Pin Sphinx to 1.x Mar 30, 2019
src Correctly handle invalid PNG metadata. Apr 11, 2019
tools Generate Figure method wrappers via Mar 31, 2019
tutorials Fix some documentation links Apr 2, 2019
.appveyor.yml Don't access internet during tests. Apr 1, 2019
.coveragerc Add branch coverage; exclude from coverage. Feb 21, 2017
.flake8 Improve Conectionstyle Demo Apr 9, 2019
.gitattributes Mark svg files as binary/generated in gitattributes. Sep 22, 2017
.gitignore Download jQueryUI during build. Feb 11, 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 CI: add additional qt5 deb package on travis Feb 11, 2019
README.rst Add Azure Pipelines build badge (#12891) Nov 26, 2018
build_alllocal.cmd Don't explicitly pass the default include and lib paths. Feb 27, 2019
matplotlibrc.template moved location of new param in rc template, and modified doc in axes … Mar 29, 2019
pytest.ini Don't access internet during tests. Apr 1, 2019
setup.cfg.template Don't explicitly pass the default include and lib paths. Feb 27, 2019 Remove unused setupext.is_min_version. Apr 6, 2019 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 Fix some more invalid string escapes. Jul 16, 2018


Travis AzurePipelines AppVeyor Codecov LGTM PyPi Gitter NUMFocus GitTutorial


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


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.


After installation, you can launch the test suite:


Or from the Python interpreter:

import matplotlib

Consider reading for more information. Note that the test suite requires pytest. Please install with pip or your package manager of choice.


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.


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

You can’t perform that action at this time.