This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.
Return a list of the frequency of each degree value.
G : Networkx graph
hist : list
A list of frequencies of degrees. The degree values are the index in the list.
Note: the bins are width one, hence len(list) can be large (Order(number_of_edges))