You are reading an old version of the documentation (v2.0.1). For the latest version see https://matplotlib.org/stable/
matplotlib

Travis-CI:

This Page

matplotlib.axes.Axes.set_figure

Axes.set_figure(fig)

Set the class:Axes figure

accepts a class:Figure instance