Axis theming


using GeometryBasics

using AbstractPlotting

scene = Scene()
points = decompose(Point2f0, Circle(Point2f0(10), 10f0), 9)
lines!(
    scene,
    points,
    linewidth = 8,
    color = :black
)

axis = scene[Axis] # get axis

st = Stepper(scene, "output")
step!(st);
axis[:frame][:linewidth] = 5
step!(st)
axis[:grid][:linewidth] = (1, 5)
step!(st)
axis[:grid][:linecolor] = ((:red, 0.3), (:blue, 0.5))
step!(st)
axis[:names][:axisnames] = ("x", "y   ")
step!(st)
axis[:ticks][:title_gap] = 1
step!(st)
axis[:names][:rotation] = (0.0, -3/8*pi)
step!(st)
axis[:names][:textcolor] = ((:red, 1.0), (:blue, 1.0))
step!(st)
axis[:ticks][:font] = ("Dejavu Sans", "Helvetica")
step!(st)
axis[:ticks][:rotation] = (0.0, -pi/2)
step!(st)
axis[:ticks][:textsize] = (3, 7)
step!(st)
axis[:ticks][:gap] = 5
step!(st)