fig = Figure()
ax = Axis(fig[1, 1])
categories = rand(1:3, 1000)
values = randn(1000)
violin!(ax, categories, values, color=(:red,0.3), label="data1")
categories = rand(1:3, 1000)
values = randn(1000)
violin!(ax, categories, values, color=(:green,0.3), label="data2")
axislegend()
fig
ERROR: KeyError: key :colormap not found
This is a stopgap. Don’t know if there is any better method.
jules
3
Seems like a bug, I wonder why it’s looking for a colormap at all if you use scalar colors.
1 Like
OK. Thanks for your reply! 