You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# p1 /p2 & plot_layout(heights=c(1,1)) # why the extra white spacep1/p2&
plot_layout(heights=c(2.5,1)) # why the extra white space
# The same can be specified as a character string:design<-" 11 11 22"p1+p2+
plot_layout(design=design) # not sure how we can specify fractional relative height
ggarrange(p1,p2,heights=c(2.5,1)) # works as expected
For plot layout + is probably the right operator since you generally only want it applied to the current nesting level. The prime use case for & is for applying themes to all plots in the patchwork
Hi I used to have older code that works as expected but now I am getting white space when using plot_layout and relative heights
Created on 2023-09-04 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: