View source: R/utils.R
Extract the legend grob from a plot object.
get_legend(plot)
plot
A plot object.
The legend grob.
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.