1

I'm a fan of the pairgrid regplots Seaborn outputs, like below:

plots

My issue is, I can't see the R and P values for these regression models.

Does Seaborn have a way to output the stats values on the regplot when it's part of a grid?

My code:

g = sns.PairGrid(df8,
                 y_vars=["Candidate_x"],
                 x_vars=["mobile_homes", "white_labor_participation",
                         "Unemployment_x", "less_hs_diploma",
                         "difference_x"], size=3)
g.map(sns.regplot, color=".3")
g.set(ylim=(0, 1), yticks=[0, 5, 10]);
piRSquared
  • 265,629
  • 48
  • 427
  • 571
Union find
  • 7,095
  • 13
  • 52
  • 97

0 Answers0