pkgload::load_all("~/Documents/Projects/tinyplot")
#> ℹ Loading tinyplot
# A plot with default params
tinyplot(mpg ~ wt, data = mtcars, facet = ~am)
# Set a mix of base and tinyplot global params
op = tpar(
las = 1,
pch = 2,
facet.bg = "grey90",
facet.cex = 2,
grid = TRUE
)
# redraw the plot
tinyplot(mpg ~ wt, data = mtcars, facet = ~am)
Closes #123.
MWE.
Created on 2024-03-15 with reprex v2.1.0
Still to do:
(Maybe decide about supporting
palette()
setting too.)