I would like to know how I could get multiple markers in the same strip plot.
tips = sns.load_dataset("tips")
coldict={'Sun':'red','Thur':'blue','Sat':'yellow','Fri':'green'}
markdict={'Sun':'x','Thur':'o','Sat':'o','Fri':'o'}
tips['color']=tips.day.apply(lambda x: coldict[x])
tips['marker']=tips.day.apply(lambda x: markdict[x])
m=sns.stripplot('size','total_bill',hue='color',\
marker='marker',data=tips, jitter=0.1, palette="Set1",\
split=True,linewidth=2,edgecolor="gray")
This doesn't seem to work as marker only accepts a single value.
Also preferably I would like to make the corresponding 'Sun' values as transparent red triangles. Any idea how this could be achieved?
Thank you.
Edit: So a much better way to do it was to declare a my_ax = plt.axes() and pass my_ax to each stripplot(ax=my_ax). I believe this is the way it should be done.