Learn R Programming

yamlet (version 1.2.1)

get_labs: Get Labels

Description

Gets labels for a ggplot object. Not exported, to avoid confusion. Development version of ggplot2 implements new get_labs() interface. This function is an abstraction that supports new vs old approaches. See https://github.com/tidyverse/ggplot2/pull/6078.

Usage

get_labs(plot)

Arguments

plot

the ggplot