[Compatible] debugging and compatibility issues networkx of matplotlib

Because it is not compatible and will matplotlib 3.1 network2.2 \ 2.3 version, such as running statement

nx.draw(DG,with_labels=True, node_size=900, node_color = colors)

When will complain, after all matplotlib 19.5 was made, so I reinstall matplotlib to 2.2.3 to solve

Published 63 original articles · won praise 13 · views 40000 +

Guess you like

Origin blog.csdn.net/changreal/article/details/96991764