Description Usage Arguments Value
Extract just the legend from a ggplot2 object.
1 | get_legend(ggplot_object)
|
ggplot_object |
a ggplot |
a ggplot legend
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.