Hello everyone,

How can I show the labels of some vertices not all of them?

I wrote this function to ignore labeling hashtags and only label all other
nodes


def name_on(vertex):
if is_hashtag(vertex):
g.vs["label"] = ""
 else:
g.vs["label"] = vertex["name"]


Not working though.


Any clue?

Thanks very much,

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

Reply via email to