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:

[image: Inline image 1]

Any idea what the error is about?

Thanks very much,

-Ahmed
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to