skojaku / core-periphery-detection

Python package for detecting core-periphery structure in networks.
Apache License 2.0
47 stars 5 forks source link

Bugfix zorder #14

Closed skojaku closed 3 years ago

skojaku commented 3 years ago

An issue raised due to the version update of networkx from version 2.4 to 2.5.

The issue arises in draw functions. More specifically, networkx.draw_networkx_nodes abandons the parameters to control the order of nodes to plot, and an error arises because the cpnet package passes the abandoned parameters.

In this fix, I set the order directly, which resolves this issue.