Guest User

Untitled

a guest
Jan 19th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. # Correlation Matrix Heatmap
  2. f, ax = plt.subplots(figsize=(10, 6))
  3. corr = wines.corr()
  4. hm = sns.heatmap(round(corr,2), annot=True, ax=ax, cmap="coolwarm",fmt='.2f',
  5. linewidths=.05)
  6. f.subplots_adjust(top=0.93)
  7. t= f.suptitle('Wine Attributes Correlation Heatmap', fontsize=14)
Add Comment
Please, Sign In to add comment