Learn R Programming

ggblanket (version 7.0.0)

light_mode_t: Light mode theme with top legend

Description

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

Usage

light_mode_t(base_size = 11, base_family = "")

Value

A ggplot theme.

Arguments

base_size

The base size of the text. Defaults to 11.

base_family

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

Examples

Run this code
library(palmerpenguins)
library(ggplot2)

set_blanket()

penguins |>
  gg_point(
    x = flipper_length_mm,
    y = body_mass_g,
    col = species,
    mode = light_mode_t()
  )

Run the code above in your browser using DataLab