theme_providence: Providence ggplot theme

Description Usage Arguments References See Also Examples

View source: R/gg-theme-providence.R

Description

[ggplot2] plot theme based on Providence style guide

Usage

1
2
3
4
5
theme_providence(
  base_theme = ggplot2::theme_minimal(),
  background.fill = "white",
  ...
)

Arguments

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.

References

https://github.com/gadenbuie/ggpomological/blob/master/R/theme_pomological.R

See Also

[ggplot2::theme]

Examples

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)

RollieParrish/ProvidenceThemes documentation built on Feb. 15, 2021, 7:54 p.m.