Closed teunbrand closed 3 years ago
This now works:
library(ggplot2)
library(ggh4x)
ggplot(mpg, aes(class, hwy)) +
geom_boxplot() +
guides(x = guide_axis_truncated(
trunc_lower = "compact",
trunc_upper = "subcompact"
)) +
theme(axis.line = element_line(colour = "black"))
Created on 2021-06-21 by the reprex package (v1.0.0)
Created on 2021-04-19 by the reprex package (v1.0.0)