Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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