igraph-help
[Top][All Lists]
Advanced

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

[igraph] Python-iGraph, iPython, Python 3.4 plot error


From: Nick Eubank
Subject: [igraph] Python-iGraph, iPython, Python 3.4 plot error
Date: Wed, 04 Nov 2015 23:54:01 +0000

Hi All, 

When I run:

    import igraph as ig
    ig.plot(ig.Graph.Full(8))

in iPython 3.2.1 (in the Spyder IDE) with Python 3.4.3, I'm getting the following error:

Out[3]: <igraph.drawing.Plot at 0x110d87ba8>Traceback (most recent call last):

  File "/Users/Nick/anaconda/lib/python3.4/site-packages/IPython/core/formatters.py", line 334, in __call__
    return method()

  File "/Users/Nick/anaconda/lib/python3.4/site-packages/igraph/drawing/__init__.py", line 352, in _repr_svg_
    surface.finish()

TypeError: 'str' does not support the buffer interface


Not sure if this is an iGraph, iPython, or cairo error! Any suggestions? Runs fine in regular python. 

Thanks!

Nick


reply via email to

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