That was mean clever, and I am having so much fun with this!

Thanks very much!!!

-Ahmed


On Sat, Jan 25, 2014 at 2:00 PM, Tamás Nepusz <[email protected]> wrote:

> > Not working though.
>
> How about
>
> if is_hashtag(vertex):
>     vertex[“label”] = “”
> else:
>     vertex[“label”] = vertex[“name”]
>
> Or, even better:
>
> g.vs[“label”] = [“" if is_hashtag(vertex) else vertex[“name”] for vertex
> in g.vs]
>
> T.
>
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to