Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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)
Add Comment
Please, Sign In to add comment