
Matplotlib — Visualization with Python
Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python. Matplotlib makes easy things easy and hard things possible. Create publication quality plots. …
Matplotlib documentation — Matplotlib 3.10.8 documentation
Cheatsheets Matplotlib 3.10.8 documentation # Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations. Install # pip pip install matplotlib conda conda install -c …
Examples — Matplotlib 3.10.8 documentation
Examples # For an overview of the plotting methods we provide, see Plot types This page contains example plots. Click on any image to see the full image and source code. For longer tutorials, see …
Using Matplotlib — Matplotlib 3.10.8 documentation
Figures and backends Introduction to figures Output backends Matplotlib Application Interfaces (APIs) Interacting with figures Interactive figures and asynchronous programming Event handling Writing a …
Getting started — Matplotlib 3.10.8 documentation
import matplotlib.pyplot as plt import numpy as np x = np.linspace(0, 2 * np.pi, 200) y = np.sin(x) fig, ax = plt.subplots() ax.plot(x, y) plt.show()
Pyplot tutorial — Matplotlib 3.10.8 documentation
Pyplot tutorial # An introduction to the pyplot interface. Please also see Quick start guide for an overview of how Matplotlib works and Matplotlib Application Interfaces (APIs) for an explanation of the trade …
API Reference — Matplotlib 3.10.8 documentation
API Reference # Matplotlib interfaces # Matplotlib has two interfaces. See Matplotlib Application Interfaces (APIs) for a more detailed description of both and their recommended use cases.
Tutorials — Matplotlib 3.10.8 documentation
Tutorials # This page contains a few tutorials for using Matplotlib. For the old tutorials, see below. For shorter examples, see our examples page. You can also find external resources and a FAQ in our …
Installation — Matplotlib 3.10.8 documentation
It requires Tk bindings, which are usually provided via the Python standard library's tkinter module. On some OSes, you may need to install a separate package like python3-tk to add this component of the …
matplotlib.pyplot — Matplotlib 3.10.8 documentation
matplotlib.pyplot # matplotlib.pyplot is a state-based interface to matplotlib. It provides an implicit, MATLAB-like, way of plotting. It also opens figures on your screen, and acts as the figure GUI …