Skip to content

Instantly share code, notes, and snippets.

@julian-west
Created September 7, 2019 16:56
Show Gist options
  • Save julian-west/c59beefcf11765f21128520591cf781b to your computer and use it in GitHub Desktop.
Save julian-west/c59beefcf11765f21128520591cf781b to your computer and use it in GitHub Desktop.
#visualise correlation matrix using a clustered heatmap
display(HTML("<h3>Clustered Heatmap: Correlations between asset price returns</h3>"))
sns.clustermap(correlation_matrix, cmap="RdYlGn")
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment