Skip to contents

Update all the geom defaults.

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

Usage

weave_geom_defaults(
  geom_colour = "#357BA2FF",
  geom_fill = geom_colour,
  geom_text_colour = "#121B24FF",
  geom_text_size = 11/2.835052,
  geom_text_family = "",
  geom_reference_colour = "#121B24FF",
  geom_reference_linewidth = 0.25
)

Arguments

geom_colour

A default hex geom_colour for the geom_colour of geoms (other than "text", "label", "hline", "vline" and "abline" geoms).

geom_fill

A default hex geom_colour for the geom_fill of geoms (other than "text", "label", "hline", "vline" and "abline" geoms).

geom_text_colour

A default hex geom_colour for the geom_colour of the "text" and "label" geoms.

geom_text_size

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

geom_text_family

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

geom_reference_colour

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

geom_reference_linewidth

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