answered 10 years ago
Try using plt.figure() before your set up the plot. For example, the following works for me in SMC:
plt.figure()
fig=plt.figure() nx.draw(G) plt.show()