Closed grantmcdermott closed 5 months ago
... leading to wrong titles above the different facet plots. (If the data are not already sorted by the facet variable(s).)
library(plot2) library(ggplot2) ## for comparison with(mtcars, plot2(x = wt, y = mpg, facet = cyl))
Note the "6" and "4" facet titles should be swapped.
Compare:
ggplot(mtcars, aes(x = wt, y = mpg)) + geom_point(shape = 1) + facet_wrap(~cyl) + theme_linedraw() + theme(panel.grid = element_blank())
Created on 2024-01-21 with reprex v2.0.2
A bad bug, but a simple thing to fix. PR incoming shortly.
... leading to wrong titles above the different facet plots. (If the data are not already sorted by the facet variable(s).)
Note the "6" and "4" facet titles should be swapped.
Compare:
Created on 2024-01-21 with reprex v2.0.2
A bad bug, but a simple thing to fix. PR incoming shortly.