Hello
I need to plot some graphs, and am studying the igraph drawing module in
Python.2.7 (Windows operating system). I tried to run a very simple example,
which also is in igraph.org page and got the following error message:
g = Graph.Famous ('Zachary')layout = g.layout ("kk")plot (g, layout = layout)
Traceback (most recent call last): File "<pyshell # 5>", line 1, in <module>
plot (g, layout = layout) File "C: \ Python27 \ lib \ site-packages \ igraph
\ drawing \ __ init__.py", line 427, in plot result = Plot (target, bbox,
background = "white") File "C: \ Python27 \ lib \ site-packages \ igraph \
drawing \ __ init__.py", line 122, in __init__ self._surface_was_created =
not isinstance (target, cairo.Surface) File "C: \ Python27 \ lib \
site-packages \ igraph \ drawing \ utils.py", line 396, in __getattr__ raise
TypeError ("plotting not available")TypeError: plotting not available
Why this error is happening? What should I do to fix it?
Thank you _______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help