Created
January 10, 2018 17:28
-
-
Save dipanjanS/ac3f792f0feef012657b596cc45975d4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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