
Examples — Matplotlib 3.10.3 documentation
Currently Matplotlib supports PyQt/PySide, PyGObject, Tkinter, and wxPython. When embedding Matplotlib in a GUI, you must use the Matplotlib API directly rather than the pylab/pyplot …
The Python Graph Gallery: hundreds of python charts with
Jul 24, 2021 · The Python Graph Gallery is a website that displays hundreds of chart examples made with python. It goes from very basic to highly customized examples and is based on …
Simple plot — Matplotlib 3.10.3 documentation
import matplotlib.pyplot as plt plt.plot([1, 2, 3, 4], 'o-r') plt.ylabel('some numbers') plt.show()
matplotlib.pyplot — Matplotlib 3.10.3 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 …
Style sheets reference — Matplotlib 3.10.3 documentation
The names of the available style sheets can be found in the list matplotlib.style.available (they are also printed in the corner of each plot below). See more details in Customizing Matplotlib using …
Pyplot tutorial — Matplotlib 3.10.3 documentation
matplotlib.pyplot is a collection of functions that make matplotlib work like MATLAB. Each pyplot function makes some change to a figure: e.g., creates a figure, creates a plotting area in a …
Thumbnail gallery — Matplotlib 2.0.2 documentation
May 10, 2017 · Click on any image to see full size image and source code Gallery Lines, bars, and markers Shapes and collections Statistical plots Images, contours, and fields Pie and …
Pyplot Scales — Matplotlib 3.1.3 documentation
Feb 9, 2020 · Pyplot Scales ¶ Create plots on different scales. Here a linear, a logarithmic, a symmetric logarithmic and a logit scale are shown. For further examples also see the Scales …
Infinite lines — Matplotlib 3.10.3 documentation
import matplotlib.pyplot as plt import numpy as np t = np.linspace(-10, 10, 100) sig = 1 / (1 + np.exp(-t)) fig, ax = plt.subplots() ax.axhline(y=0, color="black", linestyle="--") …
Anatomy of a figure — Matplotlib 3.10.3 documentation
Anatomy of a figure # This figure shows the name of several matplotlib elements composing a figure