AlgebraOfGraphics.jl icon indicating copy to clipboard operation
AlgebraOfGraphics.jl copied to clipboard

More modular hidedecoration settings for faceting

Open piever opened this issue 4 years ago • 1 comments

There seems to be an edge case we do not cover, in that with

df = (
    sepal_length = 1 .+ rand(100), 
    sepal_width = 2 .+ rand(100),
    petal_length = 3 .+ rand(100),
    petal_width = 4 .+ rand(100)
)
xvars = ["sepal_length", "sepal_width"]
yvars = ["petal_length" "petal_width"]
layers = linear() + visual(Scatter)
plt = data(df) * layers * mapping(xvars, yvars, col=dims(1), row=dims(2))
draw(plt, facet=(linkxaxes=:none,))

facet

we may actually wish to hide the inner axis labels, but keep the ticks.

piever avatar Oct 12 '21 09:10 piever

Though this case x-axes should link by column, shouldn't they?

But you are right that more customisability is better.

greimel avatar Oct 12 '21 09:10 greimel