79752619

Date: 2025-09-01 14:07:16
Score: 0.5
Natty:
Report link

You can’t change markers in swarmplot directly—overlay them with ax.scatter instead

ax = sns.swarmplot(data=df, x="value", y="letter", hue="type")
highlight = df[df["letter"].isin(["AB","AE"])]
ax.scatter(highlight["value"], highlight["letter"], marker="*", s=200, c="black")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sai-Programmer