I have the following code in R:
library(ggplot2) theme_set(theme_bw()) p <- ggplot(mtcars, aes(wt, mpg)) p <- p + geom_point(aes(colour = factor(cyl))) p
As a result:
Each legend entry has a gray frame around it. How to remove it?
Just add
+ theme(legend.key = element_rect(colour = NA))
Source: https://habr.com/ru/post/1207025/More articles:Is there a better way to write this query? - sqlCan I use several retrieval methods in ASP.Net Web API controller - c #Web Api multiple get with the same signature routing - asp.net-mvcToolbar does not work with pre-lollipops devices using appcompat v7 - androidDeploying a flag site / application on pythonanywhere.com - pythonDivide one row after every third column and move these 3 columns to a new row in r - splitUncaught TypeError: Unable to read env property from undefined - htmlHow to disable debugger from devices in Android Studio? - android-studioQObject :: connect: there is no such signal when connecting qml-signals in C ++ Qt 5.3 - c ++Curl animation (for example, an open book page) in android - androidAll Articles