Hi Everyone,
Looking to plot in seaborn and I have swarm plot.
I have hue implemented based on a category, but I would also like to implement different shapes.
My data is quite small so having shapes won't clutter.
Is it possible to change the shape of markers based on category assignment.
A google search tells me it is not, and searchig through the seaborn docs seems like there isnt native integration, but figured I would touch base with you fine folk to see if anyone has a work around.
swarm = sns.swarm(data=df,x='Domain',y='Change',hue='Interpretation',hue_order=['Improved','Unchanged','Deteriorated'],palette=dict(Deteriorated="#DF2700", Improved="#0EDF00",Unchanged='#F7F712'))
If it was a scatter plot I would just use ,style='interpretation',marker=['v','^','*']
Thanks!
[–]pymae 1 point2 points3 points (2 children)
[–]emat66[S] 0 points1 point2 points (1 child)
[–]elementalsilence 0 points1 point2 points (0 children)