You are reading an old version of the documentation (v2.1.2). For the latest version see https://matplotlib.org/stable/
Version 2.1.2
matplotlib
Fork me on GitHub


Travis-CI:

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 blank space between subplots, expressed as a fraction of the average axis width
hspace : 0.2
The amount of height reserved for white 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