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

Table Of Contents

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.