--snip-set the range for each axis plt axis([ ]plt show(we start with list of -values containing the numbers through nexta list comprehension generates the -values by looping through the -values (for in x_values)squaring each number ( ** )and storing the results in y_values we then pass the input and output lists to scatter( because this is large data setwe use smaller point size and we use the axis(function to specify the range of each axis the axis(function requires four valuesthe minimum and maximum values for the -axis and the -axis herewe run the -axis from to and the -axis from to , , figure - shows the result figure - python can plot points as easily as it plots points removing outlines from data points matplotlib lets you color points individually in scatter plot the default-blue dots with black outline--works well for plots with few points but when plotting many pointsthe black outlines can blend together to remove the outlines around pointspass the argument edgecolor='nonewhen you call scatter()plt scatter(x_valuesy_valuesedgecolor='none' = run scatter_squares py using this calland you should see only solid blue points in your plot generating data