I have a plot in R and I would like to hide a specific label without manipulating the data used to produce the plot. Is this possible? I would like to hide the y label denoted as 5000. I tried using the element blank in my code but it did not work as desired.
My code is as follows:
library(ggplot2)
ggplot(diamonds)
diamonds %>%
ggplot(aes(table)) +
geom_histogram() +
labs(
x = "scores",
y = "Frequency") +
(themes = list(theme(axis.text.y = element_blank())))
