Skip to content

Unfilled line plot for density #694

@rashidrafeek

Description

@rashidrafeek

Is it possible to remove the fill color of the default density plot and just get a line plot? Using Makie it can be achieved as (See https://discourse.julialang.org/t/makie-density-line-plot/63137):

Makie.density(randn(1_000), color = (:red, 0.0), strokearound = false, strokecolor = :blue, strokewidth = 2)```

which gives,

Image

The same attributes does not work with density in AoG:

layers = mapping(randn(1_000)) * density() * visual(; strokearound=false, strokecolor=:blue, strokewidth=2)

draw(layers)
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions