recursive_max_and_min

mastml.plots.recursive_max_and_min(arr)[source]

Method to recursively return max and min of values or iterables in array

Args:

arr: (numpy array), an array of values or iterables

Returns:

(tuple), tuple containing max and min of arr