Skip to content

Instantly share code, notes, and snippets.

@MLWhiz
Created April 19, 2019 15:32
Show Gist options
  • Save MLWhiz/6285cde647072c3e2015ea7f636d3481 to your computer and use it in GitHub Desktop.
Save MLWhiz/6285cde647072c3e2015ea7f636d3481 to your computer and use it in GitHub Desktop.
corr = player_df.corr()
g = sns.heatmap(corr, vmax=.3, center=0,
square=True, linewidths=.5, cbar_kws={"shrink": .5}, annot=True, fmt='.2f', cmap='coolwarm')
sns.despine()
g.figure.set_size_inches(14,10)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment