Can someone explain why the code below doesn't cut the Y axis off? I am trying to cut off 0 to 50000 and only display values above that. I tried this based on this post
data(iris)
iris2<-iris[,1:4]*5000
ggplot(data=iris2, aes(x=Sepal.Length, y=Sepal.Width, fill=Sepal.Length)) +
coord_cartesian(ylim = c(5000, 150000)) +
geom_bar(stat="identity")