You are reading an old version of the documentation (v2.2.0). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.artist.Artist.set_figure.html
Version 2.2.0
matplotlib
Fork me on GitHub

This Page

matplotlib.artist.Artist.set_figure

Artist.set_figure(fig)

Set the Figure instance the artist belongs to.

Parameters:

fig : Figure