How to make a scatter plot in Matplotlib in Python

A scatter plot displays a set of data points on a graph.

Solution for How to make a scatter plot in Matplotlib in Python : You can use matplotlib.pyplot.scatter() to construct a scatter plot {#use-scatter}Call matplotlib.pyplot.scatter(x, y) with x and y as sequences of corresponding x and y coordinates to generate a scatter plot from the data.


how-to-make-a-scatter-plot-in-matplotlib-in-python