igraph-help
[Top][All Lists]
Advanced

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

[igraph] visualizing vertex error


From: Ahmed Abdeen Hamed
Subject: [igraph] visualizing vertex error
Date: Tue, 11 Aug 2015 14:23:32 -0400

Hello,

I need to change the size of the vertex based on the PageRank value. I wrote the following code:

pr =  g.pagerank()
visual_style["vertex_size"] = [float(15 *pr[v.index]) for v in g.vs]

Here is the error:

Inline image 1

Any idea what the error is about?

Thanks very much,

-Ahmed




reply via email to

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