Closed
Description
Setting breaks = NULL
, to remove axis tick marks and labels, results in the axis being dropped altogether. I don't remember seeing this before. Is this an intended feature?
library(reprex)
library(ggplot2)
ggplot(data = NULL, aes(x = c(-3, 3))) +
stat_function(fun = function(x) dnorm(x, 0, 1)) +
scale_x_continuous(breaks = NULL) +
theme_classic()
reprex()
#> Rendering reprex...
#> Rendered reprex is on the clipboard.
Created on 2018-11-07 by the reprex package (v0.2.0).