ggplot2_geom_defaults | R Documentation |
Sets common ggplot2 geom default settings (currently only font family
). Convenience wrapper around ggplot2::update_geom_defaults()
.
ggplot2_geom_defaults(family)
family |
Font family to use in text geoms. |
Note that ggplot2_geom_defaults()
must be invoked before plots are created to have any effect.
NULL
, invisibly.
Other plot theming functions:
ggplot2_theme()
,
ggplot2_theme_html()
,
plotly_layout()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.