Use s parameter with a single size value or an array of sizes:
import matplotlib.pyplot as plt plt.scatter(x=xs, y=ys, s=sizes, c=colors)
Know more:
Reference: