Skip to contents

Light mode theme for a ggplot visualisation with legend at right top. It uses the colours from lightness.

Usage

light_mode_rt(base_size = 11, base_family = "")

Arguments

base_size

The base size of the text. Defaults to 11.

base_family

The base family of the text. Defaults to "".

Value

A ggplot mode.

Examples

library(palmerpenguins)
library(ggplot2)

penguins |>
  gg_point(
    x = flipper_length_mm,
    y = body_mass_g,
    col = species,
    mode = light_mode_rt()
  )
#> Warning: Ignoring unknown parameters: `contour`
#> Warning: Ignoring unknown parameters: `contour`
#> Warning: Removed 2 rows containing missing values or values outside the scale range
#> (`geom_point()`).