MakieOrg / Makie.jl

Interactive data visualizations and plotting in Julia
https://docs.makie.org/stable
MIT License
2.41k stars 312 forks source link

Automated density legend labels do not take into account line style #3818

Closed Datseris closed 2 months ago

Datseris commented 6 months ago

MWE:

fig, ax = density(randn(1000); label = "test", color = (:red, 0.25), linestyle = :dash, strokecolor = :red, strokewidth = 3)
axislegend(ax)
fig

image

Legend entry doesn't have dashed style.

Version: [13f3f980] CairoMakie v0.11.10 [ee78f7c6] Makie v0.20.9 Windows 10

ffreyer commented 2 months ago

Fixed