NetworkX

Previous topic

pareto_sequence

Next topic

uniform_sequence

powerlaw_sequence

powerlaw_sequence(n, exponent=2.0)[source]

Return sample sequence of length n from a power law distribution.