Learn R Programming

ggblanket (version 7.0.0)

dark_mode_n: Dark mode theme with no legend

Description

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

Usage

dark_mode_n(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_jitter(
    x = species,
    y = body_mass_g,
    col = species,
    mode = dark_mode_n()
  )

Run the code above in your browser using DataLab