Created
December 18, 2020 02:44
-
-
Save davisvictorns/8508c8f3295af71fa2610ea9eb9f4811 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
degree = [G.degree(node) for node in G.nodes] | |
clustering = [nx.clustering(G, node) for node in G.nodes] | |
plt.hist(clustering) | |
plt.show() | |
plt.boxplot(clustering) | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment