Screenshot of Matplotlib plots and code | |
| Original author(s) | John D. Hunter |
|---|---|
| Developer(s) | Michael Droettboom, et al. |
| Initial release | 2003; 19 years ago[1] |
| Stable release | 3.5.0[2] / 16 November 2021; 50 days ago |
| Repository | |
| Written in | Python |
| Engine |
|
| Operating system | Cross-platform |
| Type | Plotting |
| License | Matplotlib license |
| Website | 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 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. Since then it 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 was further joined by Thomas Caswell.[6][7] Matplotlib is a NumFOCUS fiscally sponsored project.[8]
Matplotlib 2.0.x supports Python versions 2.7 through 3.10. Python 3 support started with Matplotlib 1.2. Matplotlib 1.4 is the last version to support Python 2.6.[9] Matplotlib has pledged not to support Python 2 past 2020 by signing the Python 3 Statement.[10]
Pyplot is a Matplotlib module which provides a MATLAB-like interface.[11] Matplotlib is designed to be as usable as MATLAB, with the ability to use Python, and the advantage of being free and open-source.
Several toolkits are available which extend Matplotlib functionality. Some are separate downloads, others ship with the Matplotlib source code but have external dependencies.[12]
PyCha[19] – libcairo implementationPyPlotter[20] – compatible with JythonMatplotlib to draw plotsplt and gplt)wx.lib.plot.py)| Wikimedia Commons has media related to Matplotlib. |