size of scatter plot matplotlib code example
Example 1: how to decrease size of graph in plt.scatter
fig, ax = plt.subplots(figsize=(10, 6))
Example 2: matplotlib units of scatter size
star = MarkerStyle('*')
bbox = star.get_path().transformed(star.get_transform()).get_extents()
star_unit_width = bbox.width
star_unit_height = bbox.height
plt.scatter(0, -1, marker='s', s=(xscale*desired_data_width/star_unit_width)**2)