A quadratic function is shown on the graph.

a downward opening parabola beginning with open circle at negative 3 comma negative 7 increasing to a vertex at 0 comma 2 and then decreasing to a closed circle at 2 comma negative 2

What is the range of the function?

{y | −7 < y ≤ 2}
{y | −7 ≤ y ≤ 2}
{x | −3 ≤ x ≤ 2}
{x | −3 < x ≤ 2}