Skip to contents

Update the colour/fill geom default, and update other defaults for text and reference line geoms.

ggplot2::update_geom_defaults() can be used to further fine-tune geom defaults.

Usage

weave_geom_defaults(
  colour = "#357BA2FF",
  fill = colour,
  text_colour = "#121B24FF",
  text_size = 11/2.835052,
  text_family = "",
  reference_line_colour = "#121B24FF",
  reference_line_linewidth = 0.33
)

Arguments

colour

A default hex colour for the colour of geoms (other than text or reference line geoms).

fill

A default hex colour for the fill of geoms (other than text or reference line geoms).

text_colour

A default hex colour for the colour (and fill) of the "text" and "label" geoms.

text_size

A default size for the "text" and "label" geoms.

text_family

A default family for the "text" and "label" geoms.

reference_line_colour

A default hex colour for the colour of the "hline", "vline", "abline" and "curve" geoms.

reference_line_linewidth

A default linewidth for the the "hline", "vline", "abline" and "curve" geoms.