How to change a figure’s size in Python Seaborn package

sns.pairplot
“Returns the underlying PairGrid instance for further tweaking”
…for instance changing the figure size:

g=sns.pairplot(df, kind='reg', x_vars=columns,y_vars = ['Column 1'])
g.fig.set_size_inches(15,15)

Leave a Comment