Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created May 31, 2019 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NMZivkovic/5b9e51089c304781e803b950518be5bc to your computer and use it in GitHub Desktop.
Save NMZivkovic/5b9e51089c304781e803b950518be5bc to your computer and use it in GitHub Desktop.
corrMatt = data.corr()
mask = np.array(corrMatt)
mask[np.tril_indices_from(mask)] = False
fig,ax= plt.subplots()
fig.set_size_inches(20,10)
sb.heatmap(corrMatt, cmap="Greens", mask=mask,vmax=.8, square=True,annot=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment