matplotlib.figure.SubplotParams
- 
class matplotlib.figure.SubplotParams(left=None, bottom=None, right=None, top=None, wspace=None, hspace=None)[source] - 
Bases:
objectA class to hold the parameters for a subplot.
Defaults are given by
rcParams["figure.subplot.[name]"].Parameters: - 
leftfloat - 
The position of the left edge of the subplots, as a fraction of the figure width.
 - 
rightfloat - 
The position of the right edge of the subplots, as a fraction of the figure width.
 - 
bottomfloat - 
The position of the bottom edge of the subplots, as a fraction of the figure height.
 - 
topfloat - 
The position of the top edge of the subplots, as a fraction of the figure height.
 - 
wspacefloat - 
The width of the padding between subplots, as a fraction of the average axes width.
 - 
hspacefloat - 
The height of the padding between subplots, as a fraction of the average axes height.
 
- 
__dict__ = mappingproxy({'__module__': 'matplotlib.figure', '__doc__': '\n A class to hold the parameters for a subplot.\n ', '__init__': <function SubplotParams.__init__>, 'update': <function SubplotParams.update>, '__dict__': <attribute '__dict__' of 'SubplotParams' objects>, '__weakref__': <attribute '__weakref__' of 'SubplotParams' objects>, '__slotnames__': []}) 
- 
__init__(self, left=None, bottom=None, right=None, top=None, wspace=None, hspace=None)[source] - 
Defaults are given by
rcParams["figure.subplot.[name]"].Parameters: - 
leftfloat - 
The position of the left edge of the subplots, as a fraction of the figure width.
 - 
rightfloat - 
The position of the right edge of the subplots, as a fraction of the figure width.
 - 
bottomfloat - 
The position of the bottom edge of the subplots, as a fraction of the figure height.
 - 
topfloat - 
The position of the top edge of the subplots, as a fraction of the figure height.
 - 
wspacefloat - 
The width of the padding between subplots, as a fraction of the average axes width.
 - 
hspacefloat - 
The height of the padding between subplots, as a fraction of the average axes height.
 
 - 
 
- 
__module__ = 'matplotlib.figure' 
- 
__slotnames__ = [] 
- 
__weakref__ - 
list of weak references to the object (if defined)
 
- 
update(self, left=None, bottom=None, right=None, top=None, wspace=None, hspace=None)[source] - 
Update the dimensions of the passed parameters. None means unchanged.
 
 - 
 
Examples using matplotlib.figure.SubplotParams
 
    © 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
    https://matplotlib.org/3.3.3/api/_as_gen/matplotlib.figure.SubplotParams.html