complete_theme | R Documentation |
This function takes a theme and completes it so that it can be used downstream to render theme elements. Missing elements are filled in and every item is validated to the specifications of the element tree.
complete_theme(theme = NULL, default = theme_get())
theme |
An incomplete theme object to complete, or |
default |
A complete theme to fill in missing pieces. Defaults to the global theme settings. |
A theme object.
my_theme <- theme(line = element_line(colour = "red"))
complete_theme(my_theme)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.