Recursively extract leaf ggplots in patchwork addition order
Source:R/ggplot2_patchwork_utils.R
extract_patchwork_leaves.RdThe order matches panel discovery order in [find_patchwork_panels()] (patches first, then the plot carried by the patchwork object itself), which is how leaves are paired with panels.