Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Makie] stephist missing edges when some bins are empty in the middle of the histogram #109

Closed
Moelf opened this issue May 8, 2024 · 1 comment

Comments

@Moelf
Copy link
Owner

Moelf commented May 8, 2024

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

image

@Moelf
Copy link
Owner Author

Moelf commented May 8, 2024

After the fix:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant