matplotlib.axes.Axes.add_patch
- Axes.add_patch(p)[source]
-
Add a
Patchto the Axes; return the patch.
Examples using matplotlib.axes.Axes.add_patch
Building histograms using Rectangles and PolyCollections
Building histograms using Rectangles and PolyCollections
Plot a confidence ellipse of a two-dimensional dataset
Plot a confidence ellipse of a two-dimensional dataset
Controlling view limits using margins and sticky_edges
Controlling view limits using margins and sticky_edges
© 2012–2026 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.add_patch.html