no message
This commit is contained in:
parent
0da29d58d6
commit
5b2cf3a3e5
Binary file not shown.
After Width: | Height: | Size: 1.5 MiB |
|
@ -82,17 +82,17 @@ nx.draw(G_firm,
|
|||
node_size=node_size,
|
||||
labels=node_label,
|
||||
font_size=6,
|
||||
width=3,
|
||||
width=2,
|
||||
edge_color=colors,
|
||||
edge_cmap=cmap,
|
||||
edge_vmin=vmin,
|
||||
edge_vmax=vmax)
|
||||
nx.draw_networkx_edge_labels(G_firm, pos, edge_label, font_size=6)
|
||||
# nx.draw_networkx_edge_labels(G_firm, pos, font_size=6)
|
||||
sm = plt.cm.ScalarMappable(cmap=cmap, norm=plt.Normalize(vmin=vmin, vmax=vmax))
|
||||
sm._A = []
|
||||
position = fig.add_axes([0.95, 0.05, 0.01, 0.3])
|
||||
cb = plt.colorbar(sm, fraction=0.01, cax=position)
|
||||
cb.ax.tick_params(labelsize=10)
|
||||
cb.ax.tick_params(labelsize=4)
|
||||
cb.outline.set_visible(False)
|
||||
plt.savefig("output_result\\risk\\count_dcp_network")
|
||||
plt.close()
|
||||
|
|
Loading…
Reference in New Issue