I use package ( LightGraphs.jl) in Julia, and it has a predefined histogram method that creates a degree distribution on the network g.
deg_hist = degree_histogram(g)
I want to plot this, but I'm new to the conspiracy in Julia. The returned object is StatsBase.Histogramone that has the following internal fields:
StatsBase.Histogram{Int64,1,Tuple{FloatRange{Float64}}}
edges: 0.0:500.0:6000.0
weights: [79143,57,32,17,13,4,4,3,3,2,1,1]
closed: right
Can you help me, how can I use this object to build a histogram?
source
share