-
Notifications
You must be signed in to change notification settings - Fork 168
Description
I've run into a peculiar issue recently while using ggforest() on the same code and data that worked fine previously.
In taller plots (e.g., fig heights > 10 in), the bottom annotation with # events, global p-value, concordance index, AIC, etc. does not get cut off. However, in shorter plots (e.g., fig heights 3-8 in), this annotation gets cut off.
If I outrageously increase plot heights then the annotation is visible again. But this is not feasible as shorter plots are univariable coxph() models with fewer parameters and thus are not suited for tall heights.
This issue is also present in the ggforest() example page (the second annotation line with concordance index and AIC is cut off in both example figures when they shouldn't be).
I've been using this code and data for years even with the shorter plots and did not have issues before. I would greatly appreciate any help to resolve this. I've tried adding more bottom space with theme(plot.margin) but that does not affect the annotation.