Colorbar tweaking
using AlgebraOfGraphics, CairoMakie
To tweak the position and appearance of the colorbar, simply use the colorbar
keyword when plotting. For example
df = (x=rand(100), y=rand(100), z=rand(100))
plt = data(df) * mapping(:x, :y, color=:z)
draw(plt)
fg = draw(plt, colorbar=(position=:top, size=25))
This page was generated using DemoCards.jl and Literate.jl.