
Examples — Matplotlib 3.10.7 documentation
When embedding Matplotlib in a GUI, you must use the Matplotlib API directly rather than the pylab/pyplot procedural interface, so take a look at the examples/api directory for some …
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 …
Plot types — Matplotlib 3.10.7 documentation
Plot types # Overview of many common plotting commands provided by Matplotlib. See the gallery for more examples and the tutorials page for longer examples.
Pyplot tutorial — Matplotlib 3.10.7 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 …
Sample plots in Matplotlib — Matplotlib 3.4.3 documentation
Aug 13, 2021 · The pie() function allows you to create pie charts. Optional features include auto-labeling the percentage of area, exploding one or more wedges from the center of the pie, and …
Quick start guide — Matplotlib 3.10.7 documentation
Matplotlib graphs your data on Figure s (e.g., windows, Jupyter widgets, etc.), each of which can contain one or more Axes, an area where points can be specified in terms of x-y coordinates …
matplotlib.pyplot.plot — Matplotlib 3.10.7 documentation
See also scatter XY scatter plot with markers of varying size and/or color ( sometimes also called bubble chart).
matplotlib.pyplot.bar — Matplotlib 3.10.7 documentation
matplotlib.pyplot.bar # matplotlib.pyplot.bar(x, height, width=0.8, bottom=None, *, align='center', data=None, **kwargs) [source] # Make a bar plot. The bars are positioned at x with the given …
List of named colors — Matplotlib 3.10.7 documentation
Matplotlib supports colors from the xkcd color survey, e.g. "xkcd:sky blue". Since this contains almost 1000 colors, a figure of this would be very large and is thus omitted here.
Pie charts — Matplotlib 3.10.7 documentation
Each slice of the pie chart is a patches.Wedge object; therefore in addition to the customizations shown here, each wedge can be customized using the wedgeprops argument, as …