[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] error when plotting igraph
From: |
Tamás Nepusz |
Subject: |
Re: [igraph] error when plotting igraph |
Date: |
Wed, 23 Oct 2013 10:09:53 +0200 |
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