You need to reinstall the Python interface for the Cairo library, which is responsible for all the plotting things in the Python interface of igraph.
-- T. ------------------------------------------------------ From: Ahmed Abdeen Hamed [email protected] Reply: [email protected] [email protected], Help for igraph users [email protected] Date: 17 April 2014 at 00:20:36 To: Help for igraph users [email protected] Subject: [igraph] plotting not available > Hello, > > I recently updated my Mac's OS. I haven't run any igraph code since then. > Today, I am doing my usual visualization but I am getting the error below. > > Please note, only the plotting that is not working. igraph functions work > fine. Here is the line that breaks: > > *plot(g, > "/Users/ahamedCOM/ASONAM_14/data-analysis/small-kh.eps",**visual_style)* > > Any idea? > > Thanks very much, > > Ahmed > > > > Traceback (most recent call last): > > File "viz-ecig-small-network.py", line 89, in > > plot(g, > "/Users/ahamedCOM/ASONAM_14/data-analysis/small-kh.eps",**visual_style) > > File "/Library/Python/2.7/site-packages/igraph/drawing/__init__.py", line > 427, in plot > > result = Plot(target, bbox, background="white") > > File "/Library/Python/2.7/site-packages/igraph/drawing/__init__.py", line > 122, in __init__ > > self._surface_was_created = not isinstance(target, cairo.Surface) > > File "/Library/Python/2.7/site-packages/igraph/drawing/utils.py", line > 396, in __getattr__ > > raise TypeError("plotting not available") > > TypeError: plotting not available > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help > _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
