get_divisor

mastml.plots.get_divisor(high, low)[source]

Method to obtain a sensible divisor based on range of two values

Args:

high: (float), a max data value

low: (float), a min data value

Returns:

divisor: (float), a number used to make sensible axis ticks