Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 10 years ago

calc314 gravatar image

Try using plt.figure() before your set up the plot. For example, the following works for me in SMC:

fig=plt.figure()
nx.draw(G)
plt.show()