GridSpec.get_grid_positions¶
- GridSpec.get_grid_positions(figure=None)[source]¶
Return the subplot grid positions allowing for variable inter-subplot spacing and using physical units for the spacing terms. The resulting positions include “hidden” panel rows and columns.
Note
The physical units for positioning grid cells are converted from em-widths to inches when the
GridSpec
is instantiated. This means that subsequent changes torc['font.size']
will have no effect on the spaces. This is consistent withrc['font.size']
having no effect on already-instantiated figures.See also