igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] Plot.show() on windows


From: Júlio Monteiro
Subject: [igraph] Plot.show() on windows
Date: Fri, 25 Apr 2008 13:14:40 -0300
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

Hi there,

I am having a strange problem using igraph-python on windows.
I am trying to run the example on:
http://cneurocvs.rmki.kfki.hu/igraph/screenshots2.html#6
(Minimum spanning tree of a geometric random graph)

When I run the example, I get:

Traceback (most recent call last):
 File "C:\Users\Julio Monteiro\Desktop\test.py", line 19, in <module>
   fig.show()
File "c:\Prog\Python25\lib\site-packages\igraph\drawing.py", line 396, in show
   sur.write_to_png(self._tmpfile_obj.name)
IOError: error while writing to output stream

If I change fig.show() to fig.save("test.png") it works.

Anyone has a clue on what could be the problem?

Thanks!
Julio




reply via email to

[Prev in Thread] Current Thread [Next in Thread]