Skip to content

Conversation

grantmcdermott
Copy link
Owner

Closes #447

MWE from the updated tinylabel examples:

devtools::load_all("~/Documents/Projects/tinyplot")
#> ℹ Loading tinyplot

s77 = transform(data.frame(state.x77), Illiteracy = Illiteracy / 100)
tinyplot(Life.Exp ~ Income | Illiteracy, data = s77,
         xaxl = '$',
         legend = list(labeller = '%'),
        theme = "clean")

Created on 2025-09-20 with reprex v2.1.1

@grantmcdermott
Copy link
Owner Author

Tests passing so merging. I didn't tackle the breaks component since that gets more complicated (e.g., needs to be handled upstream to ensure correct color matching if breaks extend beyond the default range).

@grantmcdermott grantmcdermott merged commit ac4cf23 into main Sep 20, 2025
3 checks passed
@grantmcdermott grantmcdermott deleted the legend-labeller branch September 20, 2025 23:51
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.

Labeller for legend
1 participant