Skip to content

Instantly share code, notes, and snippets.

@prateekjoshi565
Created October 11, 2019 06:54
Show Gist options
  • Save prateekjoshi565/88c1afa052f1c34f5954bb781ad74aee to your computer and use it in GitHub Desktop.
Save prateekjoshi565/88c1afa052f1c34f5954bb781ad74aee to your computer and use it in GitHub Desktop.
plt.figure(figsize=(12,12))
pos = nx.spring_layout(G)
nx.draw(G, with_labels=True, node_color='skyblue', edge_cmap=plt.cm.Blues, pos = pos)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment