igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] plotting not available


From: Tamás Nepusz
Subject: Re: [igraph] plotting not available
Date: Thu, 17 Apr 2014 11:37:43 +0200

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 address@hidden
Reply:address@hidden address@hidden, Help for igraph users address@hidden
Date: 17 April 2014 at 00:20:36
To: Help for igraph users address@hidden
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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>  




reply via email to

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