Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created October 9, 2020 07:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/42ac5b57c3992c71c8ffd8bafd427fcf to your computer and use it in GitHub Desktop.
Save amankharwal/42ac5b57c3992c71c8ffd8bafd427fcf to your computer and use it in GitHub Desktop.
pos = nx.spring_layout(fb)
import warnings
warnings.filterwarnings('ignore')
plt.style.use('fivethirtyeight')
plt.rcParams['figure.figsize'] = (20, 15)
plt.axis('off')
nx.draw_networkx(fb, pos, with_labels = False, node_size = 35)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment