You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Version 2.0.0b1.post7580.dev0+ge487118
matplotlib
Fork me on GitHub

This Page

matplotlib.figure.SubplotParams

class matplotlib.figure.SubplotParams(left=None, bottom=None, right=None, top=None, wspace=None, hspace=None)

A class to hold the parameters for a subplot

All dimensions are fraction of the figure width or height. All values default to their rc params

The following attributes are available

left : 0.125
The left side of the subplots of the figure
right : 0.9
The right side of the subplots of the figure
bottom : 0.1
The bottom of the subplots of the figure
top : 0.9
The top of the subplots of the figure
wspace : 0.2
The amount of width reserved for space between subplots, expressed as a fraction of the average axis width
hspace : 0.2
The amount of height reserved for space between subplots, expressed as a fraction of the average axis height
update(left=None, bottom=None, right=None, top=None, wspace=None, hspace=None)

Update the current values. If any kwarg is None, default to the current value, if set, otherwise to rc