get_legend: get_legend

Description Usage Arguments Value

View source: R/get_legend.R

Description

Extract just the legend from a ggplot2 object.

Usage

1
get_legend(ggplot_object)

Arguments

ggplot_object

a ggplot

Value

a ggplot legend


UrbanInstitute/urbnthemes documentation built on Jan. 26, 2022, 8:34 p.m.