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


Travis-CI:

This Page

matplotlib.artist.Artist.set_figure

Artist.set_figure(fig)

Set the Figure instance the artist belongs to.

ACCEPTS: a matplotlib.figure.Figure instance