def scale_range_1d(low, high, amount):
    """Multiply range by `amount`, keeping the range centered."""
    span = high - low
    center = low + span / 2
    new_span = amount * span
    return center - new_span / 2, center + new_span / 2