| 1 | initial version |
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()
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.