Heatmap corr

PHOTO EMBED

Thu May 20 2021 05:25:00 GMT+0000 (UTC)

Saved by @Ariendal #python #pandas

mask=np.triu(np.ones_like(corr,dtype=bool))

f ,ax = plt.subplots(figsize=(11,9))
cmap=sns.diverging_palette(230,20, as_cmap=True)
sns.heatmap(corr, mask=mask, cmap=cmap, vmax=.3, center=0,
           square=True, linewidth=.5, cbar_kws={'shrink':.5})
content_copyCOPY