GridSpec.get_margins

GridSpec.get_margins()[source]

Returns left, bottom, right, top values. Not sure why this method doesn’t already exist on GridSpec.