Closed
Description
In the example below, I'd like to be able to add a axis.ticks
argument to remove the non-margin axis ticks but keep the non-margin axis lines
library(tidyverse)
diamonds |>
ggplot() +
geom_bar(aes(y = cut), width = 0.75, fill = "steelblue") +
facet_wrap(~color, axes = "all_y", axis.labels = "margins") +
theme(axis.line = element_line(colour = "black")) +
theme(axis.line.x = element_blank()) +
theme(axis.ticks.x = element_blank())
Created on 2024-02-11 with reprex v2.1.0
Metadata
Metadata
Assignees
Labels
No labels