Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Density doesn't support alpha #4516

Open
ericphanson opened this issue Oct 23, 2024 · 0 comments
Open

Density doesn't support alpha #4516

ericphanson opened this issue Oct 23, 2024 · 0 comments
Labels
enhancement Feature requests and enhancements

Comments

@ericphanson
Copy link
Contributor

Feature description

AoG example:

draw(data((;x = rand(100), y = rand(1:2, 100))) * mapping(:x; color=:y => nonnumeric) * visual(Density; alpha=0.5))

This gives

Invalid attribute alpha for plot type MakieCore.Plot{Makie.density, Tuple{Vector{Float64}}}.



The available plot attributes for MakieCore.Plot{Makie.density, Tuple{Vector{Float64}}} are:



bandwidth  colormap    cycle        linestyle  strokearound  weights  

boundary   colorrange  direction    npoints    strokecolor            

color      colorscale  inspectable  offset     strokewidth            





Generic attributes are:



clip_planes  dim_conversions  model      transformation  yautolimits        

cycle        label            rasterize  xautolimits     zautolimits        

AoG does have density() but then I hit MakieOrg/AlgebraOfGraphics.jl#518

@ericphanson ericphanson added the enhancement Feature requests and enhancements label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests and enhancements
Projects
None yet
Development

No branches or pull requests

1 participant