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

skip legend entry if label is nothing #2350

Merged
merged 1 commit into from
Nov 3, 2022

Conversation

fatteneder
Copy link
Contributor

Description

Implements #2300

using CairoMakie
CairoMakie.activate!()

fig = Figure()
ax  = Axis(fig[1, 1])
scatter!(rand(3), rand(3), label=nothing)
lines!(rand(3), rand(3), label="line")
lines!(rand(3), rand(3), label="sers")
axislegend()

save("mwe.pdf", fig)

image

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist

  • Added an entry in NEWS.md (for new features and breaking changes)

@SimonDanisch SimonDanisch merged commit 33c48de into MakieOrg:master Nov 3, 2022
t-bltg pushed a commit to t-bltg/Makie.jl that referenced this pull request Dec 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants