sm_minimal {smplot2} | R Documentation |
This theme has no major grid.
sm_minimal(legends = FALSE)
legends |
If the legend needs to be displayed, the input should be TRUE. If the legend is not needed, the input should be FALSE. |
Returns a background theme that has no grids (ggplot2 output).
library(ggplot2)
library(smplot2)
ggplot(data = mpg) +
geom_point(mapping = aes(x = displ, y = hwy, color = class)) +
sm_minimal()