matplotlib.gridspec.SubplotParams
- class matplotlib.gridspec.SubplotParams(left=None, bottom=None, right=None, top=None, wspace=None, hspace=None
Bases: object
Parameters defining the positioning of a subplots grid in a figure.
Defaults are given by rcParams["figure.subplot.[name]"].
The position of the left edge of the subplots, as a fraction of the figure width.
The position of the right edge of the subplots, as a fraction of the figure width.
The position of the bottom edge of the subplots, as a fraction of the figure height.
The position of the top edge of the subplots, as a fraction of the figure height.
The width of the padding between subplots, as a fraction of the average Axes width.
The height of the padding between subplots, as a fraction of the average Axes height.
Restore the subplot positioning parameters to the default rcParams values
Return a copy of the subplot parameters as a dict.
Update the dimensions of the passed parameters. None means unchanged.
matplotlib.gridspec.SubplotParams