I’m having trouble adding bar spacing to a stacked plot, as it is shifting the bars off center.
dfsample = CSV.read("dfsample.csv", DataFrame)
p = plot(dfsample,
x=:Percent,
y=:LessonName,
color=:PassType,
Geom.bar(orientation = :horizontal),
Theme(
#bar_spacing=5mm
)
)

You can see the plot displays as expected:

However when I add bar_spacing of 5mm it shifts the bars off center (down) from the axis labels:

When I remove the color attribute the bars are spaced and centered correctly:

Any ideas?