Description Usage Arguments References See Also Examples
View source: R/gg-theme-providence.R
[ggplot2] plot theme based on Providence style guide
1 2 3 4 5 | theme_providence(
base_theme = ggplot2::theme_minimal(),
background.fill = "white",
...
)
|
base_theme |
A base theme upon which additional theme-specific options are applied |
background.fill |
color used as background fill. accepts any valid named color from 'providence_colors'. default is providence_colors["white"]. |
... |
additional parameters passed through to ggplot2::theme. |
https://github.com/gadenbuie/ggpomological/blob/master/R/theme_pomological.R
[ggplot2::theme]
1 2 3 4 5 6 | ## Not run:
library(ggplot2)
data <- data.frame(x = 1:10, y = 1:10)
ggplot(data, aes(x, y)) + geom_point() + theme_test()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.