How to change a figure's size in Python Seaborn package
问题 I'm having trouble increasing the size of my plot figures using Seaborn. I'm using sns.pairplot to plot columns of a data frame against one another. %matplotlib inline plt.rcParams['figure.figsize']=10,10 columns=list(df.columns.values) g=sns.pairplot(df, kind='reg', x_vars=columns,y_vars = ['Column 1']) The plots populate with data just fine, but the figure size is too small. I thought plot.rCParams['figure.figsize'] would control how large the figure is, but it doesn't seem to take effect.