def get_extrema(list):
    """Returns the max and min x and y values from a list of coordinate tuples in the form of (min_x, max_x, min_y, max_y)."""
    max_x = max(list,key=lambda item:item[0])[0]
    max_y = max(list,key=lambda item:item[1])[1]
    min_x = min(list,key=lambda item:item[0])[0]
    min_y = min(list,key=lambda item:item[1])[1]
    return (min_x, max_x, min_y, max_y)