Skip to content

Feature: add LegendEntry and pie wedge legend handler#571

Draft
cvanelteren wants to merge 3 commits intomainfrom
feat/legend-entry-handle
Draft

Feature: add LegendEntry and pie wedge legend handler#571
cvanelteren wants to merge 3 commits intomainfrom
feat/legend-entry-handle

Conversation

@cvanelteren
Copy link
Collaborator

@cvanelteren cvanelteren commented Feb 8, 2026

This PR introduces uplt.LegendEntry, a lightweight custom legend-handle helper that removes the need for manual Line2D([], []) boilerplate, and adds a default legend handler for pie wedges so pie-chart legends render wedge-shaped keys instead of generic rectangles while still honoring user handler_map overrides. It includes targeted tests for both features and is intended to close #496.

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.

Feature: Add Pie chart legend handler

1 participant