The issue seems to be with facet_wrap again, as if you remove it both the graphs look identical, but when you include it thing seem to go wrong. I use the following definition for my_cars.
my_cars <- dplyr::mutate(mtcars, cyl = as.factor(mtcars$cyl),
gear = as.factor(mtcars$gear),
carb = as.factor(mtcars$carb),
am = as.factor(mtcars$am),
vs = as.factor(mtcars$vs))
Alright, so there is still an issue.
gives a distinctly different graph than
The issue seems to be with facet_wrap again, as if you remove it both the graphs look identical, but when you include it thing seem to go wrong. I use the following definition for my_cars.