skojaku / core-periphery-detection

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

limit the number of groups to plot #19

Closed skojaku closed 3 years ago

skojaku commented 3 years ago

Pass max_group_num argument to limit the number of groups to draw:

cpnet.draw(G, pair_ids, coreness, ax, max_group_num = 2)