You are reading an old version of the documentation (v2.1.1). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.add_patch.html
matplotlib
Fork me on GitHub


Travis-CI:

This Page

matplotlib.axes.Axes.add_patch

Axes.add_patch(p)

Add a Patch p to the list of axes patches; the clipbox will be set to the Axes clipping box. If the transform is not set, it will be set to transData.

Returns the patch.