Answers for "matplotlib scatter plot point size"

6

python marker size

>>> plot(x, y, 'go--', linewidth=2, markersize=12)
>>> plot(x, y, color='green', marker='o', linestyle='dashed',
...      linewidth=2, markersize=12)
Posted by: Guest on July-16-2020
3

change plot size matplotlib python

plt.figure(figsize=(14,7))
Posted by: Guest on June-21-2020
1

change plot size matplotlib

from matplotlib.pyplot import figure
figure(num=None, figsize=(8, 6), dpi=80, facecolor='w', edgecolor='k')
Posted by: Guest on May-31-2020
-1

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)
Posted by: Guest on April-09-2021

Code answers related to "matplotlib scatter plot point size"

Python Answers by Framework

Browse Popular Code Answers by Language