This fixes the error with `hist([1,1,1], bs=1)`:
ERROR: BoundsError: attempt to access 0-element Vector{Int64} at index [0]
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:1864
[3] top-level scope
@ REPL[50]:1