scale_fill_besthr: Discrete fill scale for besthr

View source: R/themes.R

scale_fill_besthrR Documentation

Discrete fill scale for besthr

Description

A discrete fill scale using besthr palettes.

Usage

scale_fill_besthr(palette = "default", ...)

Arguments

palette

Character string specifying the palette (see besthr_palette)

...

Additional arguments passed to discrete_scale

Value

A ggplot2 discrete fill scale

Examples

library(ggplot2)
ggplot(mtcars, aes(factor(cyl), fill = factor(cyl))) +
  geom_bar() +
  scale_fill_besthr("okabe_ito")


besthr documentation built on March 18, 2026, 5:08 p.m.