powered by
A complete, minimal theme to be used with the ggplot2 package
ggplot2
theme_mejr(base_size = 11, base_family = getOption("ggdistribute.font"), black = 67, margin_add = 2, debug = FALSE, FUN = NULL, ...)
base font size
base font family
Values from 0 to 255, indicating the darkest line and text colors (255).
additive adjustment of margin spacing and tick length (in "pt" units). May be positive or negative.
Add debug info to text.
Call a function before returning the theme elements.
Arguments passed to FUN
FUN
You can use theme_update to change some aspect of this theme after using theme_set.
theme_update
theme_set
mejr_geom_defaults, ggplot2::theme_update, ggplot2::theme_set
# NOT RUN { library(ggplot2) theme_set(theme_mejr(debug = TRUE)) example_plot() theme_set(theme_mejr()) theme_update(axis.text = element_blank()) # any updates can go here example_plot() # }
Run the code above in your browser using DataLab