The following code produces the attached plot. How to get rid of/ remove the regions marked in RED?
df <- data.frame(trt = c("a", "b", "c"), outcome = c(2.3, 1.9, 3.2))
ggplot(df, aes(trt, outcome)) +
geom_col()
I modified the code as follows but no change.
df <- data.frame(trt = c("a", "b", "c"), outcome = c(2.3, 1.9, 3.2))
ggplot(df, aes(trt, outcome)) +
geom_col() +
theme(
plot.margin = unit(c(0,0,0,0), "mm")
)