Skip to content

Accept literal group labels in raincloud plots - #864

Merged
cvanelteren merged 1 commit into
mainfrom
fix/raincloud-labels-861
Nov 19, 2026
Merged

cvanelteren merged 1 commit into
mainfrom
fix/raincloud-labels-861

Conversation

@cvanelteren

Copy link
Copy Markdown
Collaborator

Raincloud plots now accept a string as the tick and legend label for every distribution, even when the string matches a key in data. To label groups individually, pass a sequence such as labels=df["name"]. Series labels follow row order regardless of their index. Omitting labels still allows pandas and xarray metadata to supply them.

All 75 raincloud tests passed, including regression cases for the displayed ticks and legend.

Closes #861.

@codecov

codecov Bot commented Nov 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@cvanelteren
cvanelteren merged commit ba8f7b4 into main Nov 19, 2026
22 checks passed
@cvanelteren
cvanelteren deleted the fix/raincloud-labels-861 branch November 19, 2026 11:28
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.

Align raincloud labels semantics with other plotting methods

1 participant