Skip to content

Align the parameters to be more in line with user expectation#746

Merged
cvanelteren merged 5 commits into
Ultraplot:mainfrom
cvanelteren:api/semantic-legends-alignment
Jul 1, 2026
Merged

Align the parameters to be more in line with user expectation#746
cvanelteren merged 5 commits into
Ultraplot:mainfrom
cvanelteren:api/semantic-legends-alignment

Conversation

@cvanelteren

@cvanelteren cvanelteren commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Closes #745
This is a draft to align the parameters in semantic legends.

Semantic legends now treat scatter-style size aliases as marker areas and convert them to Line2D marker diameters, while explicit markersize aliases remain diameters. This removes the extra area mode from categorical and entry legends, fixes the leaked scatter size alias, and keeps sizelegend area handling scoped to numeric levels.

@codecov

codecov Bot commented Jun 29, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 88.63636% with 15 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
ultraplot/legend.py 75.47% 10 Missing and 3 partials ⚠️
ultraplot/axes/plot.py 80.00% 1 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@cvanelteren cvanelteren marked this pull request as ready for review July 1, 2026 09:50
@cvanelteren cvanelteren merged commit 5445c5d into Ultraplot:main Jul 1, 2026
18 checks passed
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.

Marker style and size issues of legend.

1 participant