def expander(min_val, max_val, perc):
    """
    expand -/+ direction of two values by a percentage of their delta
    """
    delta = abs(max_val - min_val)
    x = delta * perc
    return min_val - x, max_val + x
