[Numpy-discussion] plt.show() and plt.draw() doesnt work
Josè Luis Mietta
joseluismietta at yahoo.com.ar
Sat Jul 12 12:53:45 EDT 2014
Hi experts!
I have a numpy array M. I generate a graph using NetworkX and then I want to draw this graph:
import networkx as nx
import matplotlib.pyplot as plt
G=nx.graph(M)
nx.draw(G)
plt.draw()
Doing this, no picture appears. In addition, if I do `plt.show()` no picture appears.
Please help!
Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20140712/6b4d9637/attachment.html>
More information about the NumPy-Discussion
mailing list