Skip to content

Instantly share code, notes, and snippets.

@dipanjanS
Created January 10, 2018 17:28
Show Gist options
  • Save dipanjanS/ac3f792f0feef012657b596cc45975d4 to your computer and use it in GitHub Desktop.
Save dipanjanS/ac3f792f0feef012657b596cc45975d4 to your computer and use it in GitHub Desktop.
# Correlation Matrix Heatmap
f, ax = plt.subplots(figsize=(10, 6))
corr = wines.corr()
hm = sns.heatmap(round(corr,2), annot=True, ax=ax, cmap="coolwarm",fmt='.2f',
linewidths=.05)
f.subplots_adjust(top=0.93)
t= f.suptitle('Wine Attributes Correlation Heatmap', fontsize=14)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment