When running hist([1,2,3], bs=2), the following error is produced:
ERROR: BoundsError: attempt to access 1-element Vector{Float64} at index [2]
Stacktrace:
[1] getindex
@ ./array.jl:801 [inlined]
[2] hist(v::Vector{Int64}; range::Vector{Float64}, bs::Int64, nbins::Int64, pad::Bool)
@ Gnuplot ~/.julia/dev/Gnuplot/src/Gnuplot.jl:1873
[3] top-level scope
@ REPL[25]:1