The plot functions do not return matplotlib.figure.Figure instances but matplotlib.axis.Axis instances when inline=False. Technically, they can also return matplotlib.axes._subplots.AxesSubplot instances when we are dealing with subplots, but I have left this out for clarity and since the subplot class inherits from the axis class, making them behave in the same way essentially. If you prefer, I can clarify this return-type behaviour in the documentation as well.
The plot functions do not return
matplotlib.figure.Figure
instances butmatplotlib.axis.Axis
instances wheninline=False
. Technically, they can also returnmatplotlib.axes._subplots.AxesSubplot
instances when we are dealing with subplots, but I have left this out for clarity and since the subplot class inherits from the axis class, making them behave in the same way essentially. If you prefer, I can clarify this return-type behaviour in the documentation as well.