igraph-help
[Top][All Lists]
Advanced

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

[igraph] Is it possible to change the font of labels in Python?


From: 杨扬
Subject: [igraph] Is it possible to change the font of labels in Python?
Date: Mon, 23 Dec 2019 15:06:44 +0800 (GMT+08:00)

Distance between vertex and label, size of label font and angle of label can be defined using keywords, but font of labels doesnt seem to be able to be defined. It seems that in igraph in R, fonts can be defined,but in Python the keyword seems useless. If the keyword vertex_label_font is defined when calling plot, say, 

igraph.plot(g__,layout=layout1,vertex_color=[color_list[x] for x in g__.membership],bbox=(300,300),vertex_label_font=5)

there wont be error reports, but the font will not change either whatever the value of vertex_label_font.Is it possible to define the font of labels?


reply via email to

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