How to plot StatsBase.Histogram object in Julia?
<p>I am using a package(<code>LightGraphs.jl</code>) in Julia, and it has a predefined histogram method that creates the degree distribution of a network <code>g</code>. </p>

<pre><code>deg_hist = degree_histogram(g)
</code></pre>

<p>I want to make a plot of this but i am new to plotting in Julia. The object returned is a <code>StatsBase.Histogram</code> which has the following as its inner fields:</p>

<pre><code>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
</code></pre>

<p>Can you help me how I can make use of this object to plot the histogram?</p>