Skip to content

Fix label expressions for binned scales#480

Merged
teunbrand merged 3 commits into
posit-dev:mainfrom
teunbrand:fix-binned_label_expr
Jun 18, 2026
Merged

Fix label expressions for binned scales#480
teunbrand merged 3 commits into
posit-dev:mainfrom
teunbrand:fix-binned_label_expr

Conversation

@teunbrand

@teunbrand teunbrand commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

This PR fixes an issue discussed off github.

We just pretend the data type is nominal, so that datum.label is compared and we don't have the issue with en-dashes in the values. While I was in there I flattened the logic somewhat, simply because I have a distaste for deep nesting.

@teunbrand teunbrand requested a review from thomasp85 June 17, 2026 12:59

@thomasp85 thomasp85 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@teunbrand teunbrand merged commit bd8404f into posit-dev:main Jun 18, 2026
2 checks passed
@teunbrand teunbrand deleted the fix-binned_label_expr branch June 18, 2026 08:03
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.

2 participants