Skip to content

Add manual text staggering for overlapping labels#618

Draft
cvanelteren wants to merge 6 commits intomainfrom
feat/text-overlap-stagger
Draft

Add manual text staggering for overlapping labels#618
cvanelteren wants to merge 6 commits intomainfrom
feat/text-overlap-stagger

Conversation

@cvanelteren
Copy link
Collaborator

This adds an explicit text-staggering helper for dense figures without changing the default behavior of text placement. Axes.stagger_text() can now offset existing text() and annotate() artists horizontally, vertically, or in two dimensions to reduce overlap, and Figure.stagger_text() applies the same behavior across selected subplots while keeping each subplot independent. The PR also adds targeted regressions for text, annotation, idempotency, and figure-level selection behavior. Closes #617.

Loading
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.

Add text staggering for overlapping labels and annotations

2 participants