GridSpec.update¶
- GridSpec.update(**kwargs)[source]¶
Update the gridspec with arbitrary initialization keyword arguments and update the subplot positions.
- Parameters
left, right, top, bottom (
floatorstr, optional) – The fixed space between the subplots and the figure edge. Default isNone. %(units.em)s IfNone, the space is determined automatically based on the font size and axis sharing settings. Ifrc['subplots.tight']isTrue, the space is determined by the tight layout algorithm.wequal, hequal, equal (
bool, optional) – Whether to make the tight layout algorithm apply equal spacing between columns, rows, or both. Default isFalse. Ignored ifrc.tightisFalse.outerpad (
floatorstr, optional) – The tight layout padding around edge of figure. Units are interpreted byunits. Default isrc['subplots.outerpad']=0.5. %(units.em)sinnerpad (
floatorstr, optional) – The scalar tight layout padding between columns and rows. Synonymous withpad. Default isrc['subplots.innerpad']=1.0. %(units.em)spanelpad (
floatorstr, optional) – The tight layout padding between subplots and axes panels and between “stacked” panels. Default isrc['subplots.panelpad']=0.5. %(units.em)s