Hi, in ggplot I want to set the aspect ratio of the plot to a certain number.
space = "free"in facet_grid does not seem to work with theme(aspect.ratio = 1). Is there a workaround for this. Also I use coord_flip which hinders the use of coord_fixed. This is what I get:

library(ggplot2)
ggplot(mtcars, aes(hp, mpg)) +
geom_point(aes()) +
coord_flip()+
theme(aspect.ratio = 1)+
facet_grid(vars(cyl), space = "free")
Hi, in ggplot I want to set the aspect ratio of the plot to a certain number.
space = "free"infacet_griddoes not seem to work withtheme(aspect.ratio = 1). Is there a workaround for this. Also I usecoord_flipwhich hinders the use ofcoord_fixed.This is what I get: