Hi,

> then in python, I did:
> from igraph import *
> g = Graph.Famous("petersen")
> plot(g)
> 
> and it told me:
> "NotImplementedError: showing plots is not implemented on this platform: 
> Linux"
The error message is a bit misleading here (I'll fix it soon); the reason why 
igraph is complaining is because it cannot find a suitable image viewer 
application on your machine. On Linux, this is done by looking for a set of 
widely used image viewers:

- eog
- gthumb
- gqview
- kuickshow
- xnview
- display
- gpicview
- gwenview
- qiv
- gimv

You should either install one of these, or specify the full path of your image 
viewer in a file named .igraphrc in your home directory. The file should look 
like this:

[apps]
image_viewer=/usr/bin/your-image-viewer

All the best,
Tamas


_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to