pos = nx.spring_layout(G). >>> # color the nodes according to their partition. >>> cmap = cm.get_cmap('viridis', max(partition.values()) + 1). > ...
確定! 回上一頁