This is not necessarily a bug because it only appears when you're using Makie wrong, so please feel free to close it. Passing NaN as a rotation does not make any sense, and you shouldn't do it. However, I was surprised that it does not only break the plot but also the entire axis in funny ways. See the following MWE where the axis disappears, or the second video in this comment where the axis flips upside down.
using Pkg
pkg"activate --temp"
pkg"add CairoMakie"
using CairoMakie
fig = Figure()
ax = Axis(fig[1,1])
scatter!(ax, rand(Point2f, 10))
fig # this is fine
scatter!(ax, rand(Point2f,3); rotation=[NaN, 0, 90])
fig # this isn't
This is not necessarily a bug because it only appears when you're using Makie wrong, so please feel free to close it. Passing
NaN
as a rotation does not make any sense, and you shouldn't do it. However, I was surprised that it does not only break the plot but also the entire axis in funny ways. See the following MWE where the axis disappears, or the second video in this comment where the axis flips upside down.