networkx.utils.random_sequence.cumulative_distribution

cumulative_distribution(distribution)[source]

Returns normalized cumulative distribution from discrete distribution.