社交网络图 nx.circular_layout()指定网络图节点的布局方式 nx.draw_networkx_nodes()绘制网络图的节点 nx.draw_networkx_edges()绘制网络的边 nx.draw_networkx_labels()为节点添加标签 import networkx as nx import pandas as pd import matplotlib.pyplot as plt import os plt.rcParams['font.sans-serif']=['SimHei'] #用来正常显示中文标签 plt.rcParams['axes.unicod