Version 3.0.2
matplotlib
Fork me on GitHub

Table of Contents

figure

matplotlib.figure

The figure module provides the top-level Artist, the Figure, which contains all the plot elements. The following classes are defined

SubplotParams
control the default spacing of the subplots
Figure
Top level container for all plot elements.

Classes

AxesStack Specialization of the Stack to handle all tracking of Axes in a Figure.
Figure The top level container for all the plot elements.
SubplotParams A class to hold the parameters for a subplot.

Functions

figaspect Calculate the width and height for a figure with a specified aspect ratio.