atompy.get_column_pads_inches#
- atompy.get_column_pads_inches(fig=None)[source]#
Get distance between columns 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 If
None, use last active figure.
- fig
- Returns:
- xpads_inches
ndarray, shape(nrows, ncols-1) 2D numpy array of the distance in-between columns in inch.
- xpads_inches