Home > Enterprise >  Two lines from different dataframes in seaborn's facetgrid
Two lines from different dataframes in seaborn's facetgrid

Time:12-18

I have two dataframes df1 and df2... I need to plot two lines coming from each dataframe in the same plot. I've been able to plot the one line, but I don't know how to plot the second line...I have:

g = sns.FacetGrid(df1, col="S")
g.map(sns.lineplot, "Q", "M")

How do I add a second line (which is on the same scale) but coming from df2, to g?

CodePudding user response:

enter image description here

  • Related