AlgebraOfGraphics.jl icon indicating copy to clipboard operation
AlgebraOfGraphics.jl copied to clipboard

histogram no longer works with line visual

Open Beforerr opened this issue 1 year ago • 0 comments

Bug description

Using histogram with visual(Lines) used to work, however after upgrading Makie or AoG, now it produces error.

Steps to reproduce

Adapting the codes in the doc, the error is reproduced.

df = (x=randn(5000), y=randn(5000), z=rand(["a", "b", "c"], 5000))
specs = data(df) * mapping(:x, layout=:z) * histogram(bins=range(-2, 2, length=15)) * (visual(Lines))
draw(specs)

Error reporting

InvalidAttributeError: Invalid attributes dodge_gap, gap and width for plot type Lines.

Version info

[cbdf2221] AlgebraOfGraphics v0.6.19 [13f3f980] CairoMakie v0.12.2

Beforerr avatar May 31 '24 05:05 Beforerr