Python 从Igraph的community_infomap返回的代码长度

Python 从Igraph的community_infomap返回的代码长度,python,igraph,Python,Igraph,我需要用Python获取社区网络的代码长度 文档()说community_infomap返回计算出的成员向量和元组中相应的代码长度。但是 gm.community_infomap(edge_weights=gm.es['weight'], vertex_weights=None, trials=10) 其中gm是我的定向加权网络,它只是一个,您似乎正在查看GraphBase.community\u infomap的文档。请查看Graph.community\u infomap的文档: 它解释

我需要用Python获取社区网络的代码长度

文档()说community_infomap返回计算出的成员向量和元组中相应的代码长度。但是

gm.community_infomap(edge_weights=gm.es['weight'], vertex_weights=None, trials=10)

其中gm是我的定向加权网络,它只是一个,您似乎正在查看GraphBase.community\u infomap的文档。请查看Graph.community\u infomap的文档:


它解释了
codelength
是返回对象的一个属性。

感谢大家的提醒-在python igraph 0.8.3发布后,我忘了更新网站上的文档,但现在它已经存在了: