Skip to contents

Extract the legend grob from a plot object.

Usage

get_legend(plot)

Arguments

plot

A plot object.

Value

The legend grob.