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

show_axis parameter is ignored

Open pauljurczak opened this issue 4 years ago • 1 comments

In this code snippet:

using AbstractPlotting, GLMakie, AbstractPlotting.MakieLayout, Random

scene, layout = layoutscene(padding = 4, resolution = (1200, 1000));
scene1 = layout[1, 1] = LAxis(scene, title = "Lines")
lines!(scene1, randn(10), show_axis = false) 
hidedecorations!.(scene1)
display(scene)

show_axis = false is ignored and I have to call hidedecorations!.(scene1) to hide the axis. Is it possible to make show_axis = false count?

pauljurczak avatar Sep 06 '20 21:09 pauljurczak

show_axis is a parameter for the standard Makie axis which is a plot object that gets automatically added to a scene if that parameter isn't false. It has no effect on MakieLayout axes because those are entirely different things. The old system will at some point be migrated to makielayout, at that point maybe the keyword will have a different meaning

jkrumbiegel avatar Sep 07 '20 07:09 jkrumbiegel