I use python-igraph-0.7 on Ubuntu to draw graph. To display the vertex's text, I add its label attribute . As the text are Chinese characters of 'unicode' type (not 'str' type), I encode them by "UTF-8". But when the graph is shown, the Chinese characters are show as the small squares, unreadable codes. The fragment of my code list as follows:
>>> plot(g, mark_groups=True, vertex_label=g_labels)
What's wrong with this?
thanks a lot.