0

May you please help to remove the confidence interval in the seaborn pairplot.

import seaborn as sns
penguins = sns.load_dataset("penguins")
sns.pairplot(penguins,kind="reg")

I know it is possible in regplot or lmplot using ci=None, but I would like the same functionality in pairplot.

Thanks.

1 Answers1

2

According to the pair plot documentation, you can pass keyword arguments that are specifically for the plot. This should do it.

import seaborn as sns
penguins = sns.load_dataset("penguins")
sns.pairplot(penguins,kind="reg", plot_kws={'ci':None})
Chris
  • 15,819
  • 3
  • 24
  • 37