Skip to contents

Maps theme names to their corresponding ggplot2 (or add-on package) function calls, returned as language objects. Falls back to ggplot2::theme_minimal() when the requested theme's package is not available.

Usage

get_theme_call(theme_name)

Arguments

theme_name

Character string naming the theme

Value

A language object (the theme function call), or NULL in "auto" mode (keep the upstream theme).