Here is a reproducible example:
library(magrritr)
library(ggplot2)
dplyr::bind_rows(iris,iris,iris, .id = "df") %>%
ggplot(aes(x = Petal.Width, y = Petal.Length, color = Species)) +
geom_point() +
facet_wrap(~ df, ncol = 2)
The legend takes a big proportion of the image width when there is a blank space due to a "missing" facet.
Is is possible to move the legend to the bottom-right ("missing" facet) to increase the width of other plots and keep the legend information?