Skip to content

feat: accept a scalar value in factor() - #1074

Merged
has2k1 merged 1 commit into
mainfrom
factor-scalars
Jun 13, 2026
Merged

feat: accept a scalar value in factor()#1074
has2k1 merged 1 commit into
mainfrom
factor-scalars

Conversation

@has2k1

@has2k1 has2k1 commented Jun 12, 2026

Copy link
Copy Markdown
Owner

A scalar (int, float or str) passed to factor() within an aes() expression is now wrapped in a list before creating the Categorical.

A scalar (int, float or str) passed to factor() within an aes()
expression is now wrapped in a list before creating the Categorical.
@has2k1
has2k1 merged commit 619bdf1 into main Jun 13, 2026
9 of 12 checks passed
@has2k1
has2k1 deleted the factor-scalars branch June 13, 2026 11:08
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.

1 participant