def get_range(padding, *args):
    """Get a [min, max] for all of the data passed as *args."""
    if not isinstance(padding, tuple):
        padding = (padding, padding)

    all_data = [item for lst in args for item in lst]
    return [min(all_data) - padding[0], max(all_data) + padding[1]]