Skip to content

Fix factor-based y-tick labels for "p"-alike plots#387

Merged
grantmcdermott merged 3 commits intomainfrom
p-factor-ylabs
May 7, 2025
Merged

Fix factor-based y-tick labels for "p"-alike plots#387
grantmcdermott merged 3 commits intomainfrom
p-factor-ylabs

Conversation

@grantmcdermott
Copy link
Copy Markdown
Owner

Fixes #386.

pkgload::load_all("~/Documents/Projects/tinyplot/")
#> ℹ Loading tinyplot
tinytheme("bw")

plt(
  species ~ flipper_len, data = penguins,
  type = "p"
)

plt(
  species ~ flipper_len, data = penguins,
  type = "j"
)

Created on 2025-05-07 with reprex v2.1.1

@grantmcdermott grantmcdermott merged commit e43c275 into main May 7, 2025
3 checks passed
@grantmcdermott grantmcdermott deleted the p-factor-ylabs branch May 7, 2025 23:02
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.

Factor/character y-tick labels are being coerced to numeric for "p"-alike types

1 participant