Skip to content

barplot - bars do not extend to lower yaxis limit when yscale = log10 #4948

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

Closed
alex-s-gardner opened this issue May 5, 2025 · 2 comments
Closed
Labels

Comments

@alex-s-gardner
Copy link
Contributor

using CairoMakie
fig = Figure()
ax = Axis(
    fig[1,1],
    yscale = log10,
)
barplot!(ax, (rand(10)*100).+100)
ylims!(ax, low = 1E1); fig
Image
@asinghvi17
Copy link
Member

The fix for this is in #4911, but for now you can set fillto = your_low_ylim as a kwarg to barplot.

julia> bp = ax.scene.plots[end]
Plot{barplot, Tuple{Vector{Point{2, Float64}}}}

julia> bp.fillto[] = 1e1
10.0

julia> fig

Image

@alex-s-gardner
Copy link
Contributor Author

Thanks @asinghvi17 ... looks like this is a duplicate issue.. closing

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

No branches or pull requests

2 participants