Matplotlib
From Wikipedia, licensed under CC BY-SA 4.0. View the original article on Wikipedia.
| Matplotlib | |
|---|---|
Screenshot of Matplotlib plots and code | |
| Original author | John D. Hunter |
| Developers | Michael Droettboom, et al. |
| Release | 2003; 23 years ago (2003)[1] |
| Stable release | |
| Written in | Python |
| Engines | Cairo, Anti-Grain Geometry |
| Operating system | Cross-platform |
| Type | Plotting |
| License | Matplotlib license |
| Website | matplotlib.org |
| Repository | |
Matplotlib (a portmanteau of MATLAB, plot, and library[3]) 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.[4] SciPy makes use of Matplotlib.
Matplotlib was originally written by John D. Hunter. Since then it has had an active development community[5] 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[6] and was further joined by Thomas Caswell.[7][8] Matplotlib is a NumFOCUS fiscally sponsored project.[9]
Usage
Matplotlib is used in scientific research as a tool for data visualization. For example, the Event Horizon Telescope collaboration used Matplotlib to produce visualizations during the effort to create the first image of a black hole.[10] Matplotlib also underpins the plotting functionality of many scientific Python libraries (for instance, pandas uses Matplotlib as its default backend for plotting). Its importance to the scientific community has been acknowledged by institutions such as NASA, which in 2024 awarded a grant to support Matplotlib’s continued development as part of an initiative to fund widely used open-source scientific software.[11]

In education and data science, Matplotlib is frequently used to teach programming and data visualization. It integrates with Jupyter Notebook, allowing students and instructors to generate inline plots and interactively explore data within a notebook environment.[12] Many educational institutions incorporate Matplotlib into their curricula for teaching STEM concepts.[13]
Related projects
- DISLIN
- GNU Octave
- Plotly – for interactive, online Matplotlib and Python graphs
- PLplot – Python bindings available
- SageMath – uses
Matplotlibto draw plots
See also
References
- ^ "Copyright Policy". Archived from the original on 2023-07-06. Retrieved 2023-07-20.
- ^ "Release 3.11.2". 11 September 2026. Retrieved 11 September 2026.
- ^ "History — Matplotlib 3.9.2 documentation". Archived from the original on 2025-12-30. Retrieved 2026-07-08.
- ^ "API Overview". matplotlib.org. Archived from the original on 2021-07-01. Retrieved 2023-07-20.
- ^ "Matplotlib github stats". matplotlib.org. Archived from the original on 2021-06-24. Retrieved 2023-07-20.
- ^ "Announcing Michael Droettboom as the lead Matplotlib developer". matplotlib.org. Archived from the original on 2020-10-27. Retrieved 2013-04-24.
- ^ "Matplotlib Lead Developer Explains Why He Can't Fix the Docs—But You Can – NumFOCUS". NumFOCUS. 2017-10-05. Archived from the original on 2021-06-28. Retrieved 2018-04-11.
- ^ "Credits – Matplotlib 2.2.2 documentation". matplotlib.org. Archived from the original on 2021-06-24. Retrieved 2018-04-11.
- ^ "NumFOCUS Sponsored Projects". NumFOCUS. Archived from the original on 2023-06-04. Retrieved 2021-10-25.
- ^ "Case Study: First Image of a Black Hole". NumPy. Archived from the original on 16 May 2025. Retrieved 22 April 2025.
- ^ "NASA Funds Open-Source Software Underpinning Scientific Innovation". NASA. Archived from the original on 14 April 2025. Retrieved 22 April 2025.
- ^ "Interactive notebooks: Sharing the code". Nature. 18 September 2018. Archived from the original on 23 April 2025. Retrieved 22 April 2025.
- ^ "Pyplot tutorial". Matplotlib. Archived from the original on 5 May 2025. Retrieved 22 April 2025.
External links
Text is from Wikipedia, licensed under CC BY-SA 4.0. A link to the original article is included on every page. Original article. Search Wikipedia on nomadlouie.com.
