update_geom_font_defaults {ratlas}R Documentation

Update matching font defaults for text geoms

Description

Updates ggplot2::geom_label and ggplot2::geom_text font defaults

Usage

update_geom_font_defaults(
  family = "Arial Narrow",
  face = "plain",
  size = 3.5,
  color = "#2b2b2b"
)

Arguments

family, face, size, color

font family name, face, size and color

Value

None. Called for side effects.

Examples

# updates font to Arial Narrow, size to 3.5, and color to #2b2b2b by default
update_geom_font_defaults()


[Package ratlas version 0.1.0 Index]