I've read through examples on how to use different shapes and/or colors to separate data in a Seaborn plot. However, it seems that color and shapes are tied together, to show a separate variable. For instance, in the following script (borrowed from the link above) it seems like you can only use green down arrows and grey up arrows:
g = sns.FacetGrid(tips, col="sex", hue="time", palette=pal,
hue_order=["Dinner", "Lunch"],
hue_kws=dict(marker=["^", "v"]))
g = (g.map(plt.scatter, "total_bill", "tip", **kws).add_legend())
Is it possible to show, say, green up arrows and grey up arrows, as well as green down arrows and grey down arrows?
I've tried to define a dictionary for col
in a similar fashion to what is being done for hue
, but I'm still trying to wrap my head around this.