I’d like to plot a violin plot on a log10 x-axis, e.g.:
using DataFrames, DataFramesMeta, CairoMakie df = DataFrame( x = repeat(10.0 .^ (-1:3), inner=10), y = rand(50) ) fig = Figure() ax = Axis(fig[1,1], xscale = log10) violin!(ax, df.x, df.y) fig
This fails because the leftmost violin somehow protrudes into negative x-values before the axis transformation, I guess. And, the width of the violins seem to be constant as well and are also not transformed as can be seen by using
Any solution for this?
Would be nice if this would work out-of-the-box.