You are on page 1of 2

Matplotlib

Matplotlib is a plotting library for the Python programming language and its numerical
mathematics extension NumPy. It provides an object-oriented API for embedding plots into Matplotlib
applications using general-purpose GUI toolkits like Tkinter, wxPython, Qt, or GTK+. There is also
a procedural "pylab" interface based on a state machine (like OpenGL), designed to closely
resemble that of MATLAB, though its use is discouraged.[3] SciPy makes use of Matplotlib.

Matplotlib was originally written by John D. Hunter, has an active development community,[4]
and is distributed under a BSD-style license. Michael Droettboom was nominated as matplotlib's
lead developer shortly before John Hunter's death in August 2012,[5] and further joined by
Thomas Caswell.[6][7]

Matplotlib 2.0.x supports Python versions 2.7 through 3.6. Python3 support started with
Matplotlib 1.2. Matplotlib 1.4 is the last version to support Python 2.6.[8] Matplotlib has pledged to
not support Python 2 past 2020 by signing the Python 3 Statement.[9]

Contents
Comparison with MATLAB
Screenshot of Matplotlib plots
Examples and code
Toolkits Original author(s) John D.
Related projects
Hunter
References
External links Developer(s) Michael
Droettboom,
Comparison with MATLAB et al.
Pyplot is a Matplotlib module which provides a MATLAB-like interface.[10] Matplotlib is designed Initial release 2003[1]
to be as usable as MATLAB, with the ability to use Python, and the advantage of being free and
open-source.
Stable release 3.1.1 /
1 July
Examples 2019[2]
Preview release 3.2.0rc2 /
5 November
2019
Repository github.com
/matplotlib
Line plot Histogram Scatter plot 3D plot /matplotlib
(https://githu
b.com/matpl
otlib/matplot
lib)

Image plot Contour plot Scatter plot Polar plot


Written in Python
Engine cairo
Anti-Grain
Geometry

Operating system Cross-


platform
Line plot 3-D plot Image plot
Type Plotting
License Matplotlib
Toolkits
license (http
Several toolkits are available which extend Matplotlib functionality. Some are separate downloads,
others ship with the Matplotlib source code but have external dependencies.[11] s://matplotli
Basemap: map plotting with various map projections, coastlines, and political boundaries[12] b.org/users/l
Cartopy: a mapping library featuring object-oriented map projection definitions, and arbitrary
point, line, polygon and image transformation capabilities.[13] (Matplotlib v1.2 and above) icense.html)
Excel tools: utilities for exchanging data with Microsoft Excel Website matplotlib
GTK tools: interface to the GTK+ library
Qt interface .org (https://
Mplot3d: 3-D plots matplotlib.or
Natgrid: interface to the natgrid library for gridding irregularly spaced data.
g)
matplotlib2tikz: export to Pgfplots for smooth integration into LaTeX documents[14]

Related projects
Biggles[15]
Chaco[16]
DISLIN
GNU Octave
Gnuplot-py[17]
PLplot – Python bindings available
PyCha[18] – libcairo implementation
PyPlotter[19] – compatible with Jython
SageMath – uses Matplotlib to draw plots
SciPy (modules plt and gplt)
wxPython (module wx.lib.plot.py)
Plotly – for interactive, online Matplotlib and Python graphs
Bokeh[20] – Python interactive visualization library that targets modern web browsers for presentation

References
1. "Copyright Policy" (https://matplotlib.org/users/license.html#copyright-policy).
2. "Releases – matplotlib" (https://github.com/matplotlib/matplotlib/releases).
3. "Matplotlib coding styles" (http://matplotlib.org/faq/usage_faq.html#coding-styles). matplotlib.org.
4. "Matplotlib github stats" (https://matplotlib.org/users/github_stats.html). matplotlib.org.
5. "Announcing Michael Droettboom as the lead Matplotlib developer" (http://matplotlib.1069221.n5.nabble.com/ANN-Michael-Droettboom-matp
lotlib-lead-developer-td5037.html). matplotlib.org.
6. "Matplotlib Lead Developer Explains Why He Can't Fix the Docs—But You Can – NumFOCUS" (https://www.numfocus.org/blog/matplotlib-lea
d-developer-explains-why-he-cant-fix-the-docs-but-you-can). NumFOCUS. 2017-10-05. Retrieved 2018-04-11.
7. "Credits – Matplotlib 2.2.2 documentation" (https://matplotlib.org/users/credits.html). matplotlib.org. Retrieved 2018-04-11.
8. "Installing – Matplotlib 2.0.2 documentation" (https://matplotlib.org/users/installing.html). Retrieved 2017-06-23.
9. "Add Matplotlib to list by takluyver · Pull Request #20 · python3statement/python3statement.github.io" (https://github.com/python3statement/p
ython3statement.github.io/pull/20). GitHub. Retrieved 2018-04-11.
10. Matplotlib – Introduction (https://matplotlib.org/index.html)
11. "Toolkits" (https://matplotlib.org/thirdpartypackages/index.html). matplotlib.org.
12. Whitaker, Jeffrey. "The Matplotlib Basemap Toolkit User's Guide (v. 1.0.5)" (https://matplotlib.org/basemap/index.html). Matplotlib Basemap
Toolkit documentation. Retrieved 24 April 2013.
13. Elson, Philip. "Cartopy" (http://scitools.org.uk/cartopy/docs/latest/). Retrieved 24 April 2013.
14. Schlömer, Nico. "matplotlib2tikz" (https://github.com/nschloe/matplotlib2tikz). Retrieved 7 November 2016.
15. "Bigglessimple, elegant python plotting" (http://biggles.sourceforge.net/). biggles.sourceforge.net. Retrieved 24 November 2010.
16. "Chaco" (http://docs.enthought.com/chaco/). code.enthought.com.
17. "Gnuplot.py on" (http://gnuplot-py.sourceforge.net/). gnuplot-py.sourceforge.net. Retrieved 24 November 2010.
18. "PyCha" (https://bitbucket.org/lgs/pycha/). bitbucket.org.
19. "PyPlotter" (http://www.eckhartarnold.de/apppages/pyplotter.html).
20. "Welcome to Bokeh" (https://bokeh.pydata.org/en/latest/).

External links
Official website (https://matplotlib.org)

Retrieved from "https://en.wikipedia.org/w/index.php?title=Matplotlib&oldid=927250646"

This page was last edited on 21 November 2019, at 07:05 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.
Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.

You might also like