get_legend | R Documentation |
replace cowplot::get_legend, to silence warning Multiple components found; returning the first one. To return all, use 'return_all = TRUE
get_legend(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.