AlgebraOfGraphics.jl
AlgebraOfGraphics.jl copied to clipboard
Top xaxisposition overlaps with column labels
Bug description
When setting the xaxisposition to :top, the xaxis tick labels overlap with the column labels. I would expect the column labels to automatically "bump" further up to avoid this.
Steps to reproduce
Here is a MWE:
using GLMakie, AlgebraOfGraphics
df = (; x = rand(10), y = rand(10), col = rand(("left", "right"), 10))
data(df) * mapping(:x, :y, col = :col) * visual(Scatter) |> draw(; axis = (; xaxisposition = :top))
Images
Version info
julia> versioninfo()
Julia Version 1.11.5
Commit 760b2e5b739 (2025-04-14 06:53 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 32 × AMD Ryzen Threadripper 2950X 16-Core Processor
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, znver1)
Threads: 1 default, 0 interactive, 1 GC (on 32 virtual cores)
julia> Pkg.status()
Status `/tmp/jl_7NybZ7/Project.toml`
[cbdf2221] AlgebraOfGraphics v0.11.0
[e9467ef8] GLMakie v0.12.0