hidedecorations! functionality not working #4701
-
Absolute newbie here. Code: arrLeftDown = [] fig = Figure(size = (800, 800)) Probably just a noob oversight, but any light on the subject much appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey, welcome to Makie! lines(fig[1, 1], arrLeftDown, color = (255,0,0))
ax = Axis(fig[1, 1], title = "Axis 1") This is creating two axes - one is implicitly created from the lines plot, and the other is created explicitly by calling
ax = Axis(fig[1, 1]; title = "Axis 1")
lp = lines!(ax, arrLeftDown; color = RGBf(1,0,0))
ax, lp = lines(fig[1, 1], arrLeftDown, color = RGBf(1,0,0)) Then |
Beta Was this translation helpful? Give feedback.
Hey, welcome to Makie!
This is creating two axes - one is implicitly created from the lines plot, and the other is created explicitly by calling
Axis
. You have two options to solve this:Then
hidedecorations!
will only have a single axis to work on. What's happening now is that you're hiding the explicitly created axis, but not the one which is created byl…