sns.pairplot(df,hue = ‘smoker’,diag_kind = “kde”,kind = “scatter”,palette = “husl”) #where : #kind : Kind of plot for the non-identity relationships. {‘scatter’, ‘reg’} #diag_kind : Kind of plot for the diagonal subplots. {‘hist’, ‘kde’}
sns.pairplot(df,hue = ‘smoker’,diag_kind = “kde”,kind = “scatter”,palette = “husl”) #where : #kind : Kind of plot for the non-identity relationships. {‘scatter’, ‘reg’} #diag_kind : Kind of plot for the diagonal subplots. {‘hist’, ‘kde’}