-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
When you move the strips formed by faceting to the bottom, as in, e.g.:
ggplot(iris, aes(x = Sepal.Length, y = Petal.Length)) +
facet_wrap(~Species, strip.position = "bottom")
You end up with facet strips that sit in between the axis line and the x-axis labels. I could be entirely alone in this, but I find this ordering perplexing. Is there a particular reason the strips couldn't go to the outside of (beneath) the axis labels? It feels like having those as close to the axis line as possible would always be desirable, and having facet strips instead "interrupt" the connection between them feels off to me.
Presumably, the two rows (and just the relevant columns) in the gtable could get safely swapped if strip.position = "bottom" && x-axis label grobs exist in whatever row that is (11 I think?).
But, again, maybe I'm the only one who thinks the current ordering is strange! π