atompy.get_row_pads_inches#
- atompy.get_row_pads_inches(fig=None)[source]#
Get distance between rows of axes in inches.
Only works if all axes of fig are part of one-and-the-same
matplotlib.gridspec.GridSpecand if axes are arranged in a 2D grid.Ignores colormap axes added by
add_colorbar().- Parameters:
- fig
matplotlib.figure.Figure, optional Specify the figure within which to update the colorbars.
If
None, use last active figure.
- fig
- Returns:
- ypads_inches
ndarray, shape(nrows-1, ncols) 2D numpy array of the distance in-between rows in inches.
- ypads_inches