Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created Oct 9, 2020
Embed
What would you like to do?
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