class mpl_toolkits.axes_grid1.axes_divider.SubplotDivider(fig, *args, horizontal=None, vertical=None, aspect=None, anchor='C') [source]
Bases: mpl_toolkits.axes_grid1.axes_divider.Divider
The Divider class whose rectangle area is specified as a subplot geometry.
| Parameters: |
|
|---|
change_geometry(self, numrows, numcols, num) [source]
change subplot geometry, e.g., from 1,1,1 to 2,2,3
get_geometry(self) [source]
get the subplot geometry, e.g., 2,2,3
get_position(self) [source]
return the bounds of the subplot box
get_subplotspec(self) [source]
get the SubplotSpec instance
set_subplotspec(self, subplotspec) [source]
set the SubplotSpec instance
update_params(self) [source]
update the subplot position from fig.subplotpars
© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.1.1/api/_as_gen/mpl_toolkits.axes_grid1.axes_divider.SubplotDivider.html