3.6 Scatter Chart
1. Scatter Plot
In the Line Chart Plot session, we discussed how to use plt.plot() to draw the line chart. It also can be used to produce a scatter chart. Since it is a scatter plot, we can use plt.scatter() as well.

2. Markers
We can use Markers to customize a scatter plot, make it more stylish.
For example, we use "star" to draw the same curve.

More Marker Types



Most Used Colors


The color is controlled by the
markerfacecolorandmarkeredgecolorarguments.The edge size is controlled by
markeredgewidth

Last updated
Was this helpful?