[Numpy-discussion] plt.show() and plt.draw() doesnt work

Benjamin Root ben.root at ou.edu
Mon Jul 14 09:23:22 EDT 2014


Please send this question to the matplotlib-users mailing list (if you
haven't already, I am still going through a huge backlog). This is the
NumPy list.

Ben Root


On Sat, Jul 12, 2014 at 12:53 PM, Josè Luis Mietta <
joseluismietta at yahoo.com.ar> wrote:

> 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
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20140714/2c74afa4/attachment.html>


More information about the NumPy-Discussion mailing list