sns.pairplot(diabetes, hue="Outcome"); kind:用于控制非对角线上的图的类型,可选"scatter"与"reg" diag_kind:控制对角线上的图的类型,可选"hist"与"kde" sns.pairplot(diabetes,kind="reg",diag_kind="kde") palette:控制色调 sns.pairplot(data,hue="种类",palette="husl") #markers:控制散点的样式 ...
# sns heatmap correlation plt.figure(figsize=(16,9)) sns.heatmap(globalWarming_df.corr(), annot = True)Output >>>Upper triangle seaborn heatmap with mask This is interesting to create the upper triangle sns heatmap and little complex to understand. We used numpy ‘.tril()’ method to ...