2

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
  • 285,575
  • 57
  • 475
  • 624
Union find
  • 7,759
  • 13
  • 60
  • 111

0 Answers0