rstudio remove legend code example Example: turn legend off ggplot2 bp + theme(legend.position="none")