-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Types: abline
, hline
, vline
#249
Types: abline
, hline
, vline
#249
Conversation
library(tinyplot)
tinyplot(mpg ~ hp, data = mtcars)
tinyplot_add(type = type_vline(150)) cols = c("black", "green", "orange")
tinyplot(mpg ~ hp | factor(cyl), facet = ~ factor(cyl), data = mtcars, col = cols)
tinyplot_add(type = type_vline(
v = c(100, 150, 200), col = cols, lty = 3, lwd = 3
)) Created on 2024-11-12 with reprex v2.1.1 |
I feel like the whole refactor is paying off in a really big way now :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! I didn't have time to test this locally, but just left a few minor comments.
Brilliant, thanks! I've got some pressing deadlines at work. But will try to take a look at your other PRs later today. |
No description provided.