[Top][All Lists]

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

[igraph] turning on/off label property

From: Ahmed Abdeen Hamed
Subject: [igraph] turning on/off label property
Date: Sat, 25 Jan 2014 13:52:21 -0500

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"] = ""
g.vs["label"] = vertex["name"]

Not working though.

Any clue?

Thanks very much,


reply via email to

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