Indicate using the keyword argument s:
scatter(x, y, s=500, color='green', marker='h')
You can also specify an individual marker size by passing a list:
scatter(x, y, s=[5, 50, 500, 1000, 1500, 2000], color='green', marker='h')
See matplotlib.pyplot.scatter.
source
share