Created
August 28, 2016 02:49
-
-
Save elmotec/0b0a5fed96d66989ae73b864f20d22c9 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
sns.set(style='whitegrid', context='notebook', font_scale=1.5) | |
cm = np.corrcoef(df[cols].values.T) | |
hm = sns.heatmap(cm, cbar=True, annot=True, square=True, fmt='.2f', | |
annot_kws={'size': 15}, yticklabels=cols, xticklabels=cols) | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment