Answers for "pyplot marker 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
0

matplotlib scatter increase marker size

plt.scatter(x, y, s=size)
# To match with markersize, the square of the markersize should be the
# same as the scatter size: s=markersize**2
Posted by: Guest on November-12-2021

Python Answers by Framework

Browse Popular Code Answers by Language