Description Usage Arguments Value Examples
Extracts legend grob from a ggplot object
1 | get_legend(gg_plot)
|
gg_plot |
|
object containing legend
1 2 | data(examples_data)
get_legend(hm)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.