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

Support mapping strokecolor

Open jtrakk opened this issue 3 years ago • 0 comments

I know there is AlgebraOfGraphics.density() but I would also like visual(Density) to work. strokecolor doesn't work in the mapping.

let n = 100
(data((;a=rand(n),c=rand('a':'e', n)))
 * mapping(:a, strokecolor=:c)
 * visual(Density, alpha=.1)) |> draw
end


Error: Type Observable{Int64} isn't supported for uniform: color

jtrakk avatar Mar 01 '22 19:03 jtrakk