Skip to contents

Sets common ggplot2 geom default settings (currently only font family). Convenience wrapper around ggplot2::update_geom_defaults().

Usage

ggplot2_geom_defaults(family)

Arguments

family

Font family to use in text geoms.

Value

NULL, invisibly.

Details

Note that ggplot2_geom_defaults() must be invoked before plots are created to have any effect.

See also

Other plot theming functions: ggplot2_theme(), ggplot2_theme_html(), plotly_layout()