I use the following to create my subplots
fig, axs = plt.subplots(2,2)
sns.plotfunc(..., ax = axs[0])
but, the pairplot function in seaborn does not support the ax augment, any idea how to plot it as subplot?
Thanks in advance.
I use the following to create my subplots
fig, axs = plt.subplots(2,2)
sns.plotfunc(..., ax = axs[0])
but, the pairplot function in seaborn does not support the ax augment, any idea how to plot it as subplot?
Thanks in advance.
Actually, if I passed plt.subplots(2, 2)
, it will return 2*2 array, thus I should use sns.plotfunc(..., ax = axs[0][1])
, instead