-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add grid()
args to tpar?
#235
Comments
I think it would be good to have control over this using standard evaluation so I'm in favor of adding |
I'd vote yes for that(), which can have a ton of arguments, but I'd prefer limiting the number of arguments in tiny plot(), and the status quo already gives us an easy way to do this with grid=grid() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At present, we support a simple logic argument for automatically drawing a grid all plots via
tpar(grid = TRUE)
.But this doesn't give users much control over how their grids look, since it enforces the default colour ("lightgray"), line type ("dotted"), and width (
par("lwd")
).It's not a huge deal, because users can adjust these settings for individual plots by passing
grid = grid(...)
in thetinyplot
call.But... thinking ahead to our goal of enabling themes (#234), maybe it's a low cost intervention to define these grid elements globally in
tpar(grid.col = 'lightgray", grid.lty = "dotted", grid. lwd = 1)
.The text was updated successfully, but these errors were encountered: