FHist.jl
FHist.jl copied to clipboard
[Makie] `stephist` missing edges when some bins are empty in the middle of the histogram
julia> using FHist, CairoMakie
julia> h = Hist1D(;binedges = 0:3, bincounts = [2, 0, 10])
julia> begin
stephist(h; axis=(; yticks=[1,10,100], yscale=log10))
ylims!(1, 100)
current_figure()
end
After the fix: