Learn R Programming

ggblanket (version 7.0.0)

dark_mode_b: Dark mode theme with bottom legend

Description

Dark mode theme for a ggplot visualisation with bottom legend. It uses the colours from darkness.

Usage

dark_mode_b(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 = dark_mode_b()
  )

Run the code above in your browser using DataLab