theme_night {glow} | R Documentation |
theme_night
Description
A dark ggplot2 theme with a default black background intended to be used with the glow package.
Usage
theme_night(bgcolor = "black", base_size = 14, base_family = "")
Arguments
bgcolor |
Background color, default black. Generally you want to match the background with the lowest color value on a color scale. |
base_size |
Base default font size. |
base_family |
Base font family. |
Details
The theme is heavily modified from the minimal ggplot theme. It is intended to be use with dark background colors and should not be used with white or light backgrounds.
Value
A ggplot2 theme.
Examples
ggplot(mtcars, aes(x = mpg, y = wt)) +
geom_point(color = "white") +
theme_night(bgcolor = "black")
[Package glow version 0.11.0 Index]