Skip to content

Instantly share code, notes, and snippets.

@julian-west
Created September 7, 2019 17:03
Show Gist options
  • Select an option

  • Save julian-west/69667e33e9e8ad2ebb881902539084fc to your computer and use it in GitHub Desktop.

Select an option

Save julian-west/69667e33e9e8ad2ebb881902539084fc to your computer and use it in GitHub Desktop.
# draw improved graph
sns.set(rc={'figure.figsize': (9, 9)})
font_dict = {'fontsize': 18}
nx.draw(Gx, pos=nx.circular_layout(Gx), with_labels=True,
node_size=node_size, node_color="#e1575c", edge_color=edge_colours,
width=edge_width)
plt.title("Asset price correlations", fontdict=font_dict)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment