Skip to contents

A minimal legend style with white background, small text, and reduced spacing. Useful for plots where the legend should not dominate the layout.

Usage

theme_legend1()

Value

A ggplot2 theme object.

See also

Examples

library(ggplot2)
ggplot(iris, aes(Sepal.Length, Sepal.Width, color = Species)) +
  geom_point() +
  theme_legend1()