rounder

mastml.plots.rounder(delta)[source]

Method to obtain number of decimal places to report on plots

Args:

delta: (float), a float representing the change in two y values on a plot, used to obtain the plot axis spacing size

Return:

(int), an integer denoting the number of decimal places to use