G2 = nx.from_numpy_matrix(edges) pos=nx.spring_layout(G2) nx.draw_networkx_nodes(G2,pos) nx.draw_networkx_edges(G2,pos) plt.axis('off')
確定! 回上一頁