matplotlib ax bar color 设置ax bar的颜色、 透明度、label legend
matplotlibaxbarcolor设置axbar的颜色d=nx.degree(g1)print("网络的度分布为:{}".format(d))degree_sequence_g1=sorted((dforn,ding1.degree()),reverse=True)degree_sequence_g2=sorted((dforn,ding2.degree()),reverse=True)im