Matplotlib
Original authorJohn D. Hunter
DevelopersMichael Droettboom, et al.
Initial release2003; 23 years ago (2003)[1]
Stable release
3.11.0[2] Edit this on Wikidata / 12 June 2026; 4 days ago (12 June 2026)
Written inPython
Engine Cairo, Anti-Grain Geometry
Operating systemCross-platform
TypePlotting
LicenseMatplotlib license
Websitematplotlib.org Edit this at Wikidata
Repository

Matplotlib (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

edit

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]

A scatter plot created in Jupyter Notebook using Matplotlib

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] and it is widely featured in tutorials, workshops, and open online courses as a primary plotting library.

edit

See also

edit

References

edit
  1. ^ "Copyright Policy".
  2. ^ "Release 3.11.0". 12 June 2026. Retrieved 12 June 2026.
  3. ^ "History — Matplotlib 3.9.2 documentation".
  4. ^ "API Overview". matplotlib.org.
  5. ^ "Matplotlib github stats". matplotlib.org.
  6. ^ "Announcing Michael Droettboom as the lead Matplotlib developer". matplotlib.org. Archived from the original on 2020-10-27. Retrieved 2013-04-24.
  7. ^ "Matplotlib Lead Developer Explains Why He Can't Fix the Docs—But You Can – NumFOCUS". NumFOCUS. 2017-10-05. Retrieved 2018-04-11.
  8. ^ "Credits – Matplotlib 2.2.2 documentation". matplotlib.org. Retrieved 2018-04-11.
  9. ^ "NumFOCUS Sponsored Projects". NumFOCUS. Retrieved 2021-10-25.
  10. ^ "Case Study: First Image of a Black Hole". NumPy. Retrieved 22 April 2025.
  11. ^ "NASA Funds Open-Source Software Underpinning Scientific Innovation". NASA. Retrieved 22 April 2025.
  12. ^ "Interactive notebooks: Sharing the code". Nature. 18 September 2018. Retrieved 22 April 2025.
  13. ^ "Pyplot tutorial". Matplotlib. Retrieved 22 April 2025.
edit

📚 Artikel Terkait di Wikipedia

List of free and open-source software packages

ggplot2 Graphics Layout Engine Gnuplot Grace Matplotlib Plotly PLplot PyX ROOT SciDAVis Vega JFreeChart Matplotlib R COPASI Systems Biology Simulation Core

John D. Hunter

August 28, 2012) was an American neurobiologist and the original author of Matplotlib. Hunter was brought up in Dyersburg, Tennessee, and attended The McCallie

Bitstream Vera

Bitstream Vera Sans is also the default font used by the Python library Matplotlib to produce plots. Bitstream Vera itself covers Basic Latin and Latin 1-Supplement

Python (programming language)

Gensim graph-tool Horovod Imaging Library IPython JAX Jinja Keras Manim Matplotlib Mako MindSpore mlpy MNE-Python NLTK NetworkX NeuroKit NumPy OceanParcels

Grace Hopper

Hopper images in place of Lena by ivanov · Pull Request #1599 · matplotlib/matplotlib". GitHub. Retrieved July 9, 2020. "Grace Hopper Celebration of Women

List of automotive engineering software

Python software for automotive engineering – NumPy, Pandas, SciPy, SimPy, Matplotlib, PyDy, OpenCV, OpenMDAO, Scikit-learn, SymPy,TensorFlow, PyTorch Product

Empirical distribution function

use statsmodels.distributions.empirical_distribution.ECDF Matplotlib, using the matplotlib.pyplot.ecdf function (new in version 3.8.0) Seaborn, using

Pandas (software)

782728 Freq: W-MON, dtype: float64 Free and open-source software portal matplotlib Dask SciPy Polars dplyr scikit-learn List of numerical analysis software