no_legend | R Documentation |
Omits ggplot2 legend.
no_legend()
see tidyExt vignette
require(ggplot2)
mpg |> ggplot2::ggplot(aes(x=cty,y=hwy)) + geom_point(aes(col=drv)) + no_legend()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.