set_aesthetics: Set 'ggplot2' default aesthetics

View source: R/z_default_aesthetics.R

set_aestheticsR Documentation

Set ggplot2 default aesthetics

Description

Sets global options for ggplot2. If type = "grattan", grattan brand elements (colours and fonts) will be used by default in ggplot. To restore the defaults use type = "vanilla".

Usage

set_aesthetics(type)

Arguments

type

(character) Which aesthetics to use? One of "grattan" or "vanilla".

Examples

## Not run: 
set_aesthetics(type = "vanilla")

## End(Not run)

grattan/grattantheme documentation built on June 28, 2023, 1:50 p.m.