igraph-help
[Top][All Lists]
Advanced

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

[igraph] plotting on ubuntu


From: Claudio Martella
Subject: [igraph] plotting on ubuntu
Date: Wed, 21 Dec 2011 18:17:55 +0100

Hello list,

I guess this must be a common issue. I've got igraph install on latest
ubuntu with apt-get and pyigraph with pip. when i try to plot a graph
with igraph.plot() that's what i get:

/usr/local/lib/python2.7/dist-packages/python_igraph-0.5.4-py2.7-linux-x86_64.egg/igraph/drawing.pyc
in plot(obj, target, bbox, *args, **kwds)
    763     cw, ch = bbox.width/60., bbox.height/60.
    764     result.add(obj, bbox.contract((cw, ch, cw, ch)), *args, **kwds)
--> 765     if target is None: result.show()
    766     if isinstance(target, basestring): result.save()
    767     return result

/usr/local/lib/python2.7/dist-packages/python_igraph-0.5.4-py2.7-linux-x86_64.egg/igraph/drawing.pyc
in show(self)
    406             # No image viewer was given and none was detected. This

    407             # should only happen on unknown platforms.

--> 408             raise NotImplementedError, "showing plots is not
implemented on this platform: %s" % platform.system()
    409         else:
    410             os.system("%s %s" % (imgviewer, self._tmpfile_name))

NotImplementedError: showing plots is not implemented on this platform: Linux

what could it be?

-- 
   Claudio Martella
  address@hidden



reply via email to

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