Skip to content

Instantly share code, notes, and snippets.

@julian-west
Created September 7, 2019 17:04
Show Gist options
  • Save julian-west/09ef058bc60da14d838fa8c49ed5c0fc to your computer and use it in GitHub Desktop.
Save julian-west/09ef058bc60da14d838fa8c49ed5c0fc to your computer and use it in GitHub Desktop.
# draw improved graph
nx.draw(Gx, pos=nx.fruchterman_reingold_layout(Gx), with_labels=True,
node_size=node_size, node_color="#e1575c", edge_color=edge_colours,
width = edge_width)
plt.title("Asset price correlations - Fruchterman-Reingold layout",fontdict=font_dict)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment