Answers for "matplotlib scatter 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

reduce marker size in seaborn scatterplot

ax = sns.scatterplot(x="Data Set Description", y="R Squared", data=mean_df, s=10)
Posted by: Guest on February-25-2021
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
-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 marker size"

Python Answers by Framework

Browse Popular Code Answers by Language