relplot

How to add additional plots to a seaborn FacetGrid and specify colors

How to add additional plots to a seaborn FacetGrid and specify colors Question: Is there a way to create a Seaborn line plot with all the lines gray and the mean as a red line? I’m trying to do this with relplot but I don’t know how to separate the mean from the data (and …

Total answers: 3

How to customize titles and y labels in a relplot

How to customize titles and y labels in a relplot Question: I currently have a seaborn relplot harker = sns.relplot(data = majorsLong, x = "SiO2", y = "Wt %", palette = colors, markers = marks, style = "Lithology", hue = "Lithology", kind = "scatter", col = "Oxide", col_wrap = 2, s = 150, facet_kws = …

Total answers: 2

How to plot data from multiple dataframes with seaborn relplot

How to plot data from multiple dataframes with seaborn relplot Question: I want to plot two lines on the same set of axes. It seems sns.relplot is creating a facetted figure, and I don’t know how to specify that I want the second line on the same facet as the first. Here’s a MWE import …

Total answers: 1