update_geom_font_defaults | R Documentation |
Updates ggplot2::geom_label and ggplot2::geom_text font defaults
update_geom_font_defaults(
family = "Arial Narrow",
face = "plain",
size = 3.5,
color = "#2b2b2b"
)
family , face , size , color |
font family name, face, size and color |
None. Called for side effects.
# updates font to Arial Narrow, size to 3.5, and color to #2b2b2b by default
update_geom_font_defaults()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.