#

Note

This documents the development version of NetworkX. Documentation for the current release can be found here.

#

networkx.utils.random_sequence.powerlaw_sequence

powerlaw_sequence(n, exponent=2.0, seed=None)[source]

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