Saving a graph with ggsave after using ggplot_build and ggplot_gtable
it does not work because ggsave wants an object of class ggplot, while you’re passing a grob. arrangeGrob will sometimes trick ggsave in pretending inheritance from ggplot, but only when at least one of the grobs belongs to this class; here, however, you’re only passing a gtable. Perhaps the easiest workaround is to clone ggsave … Read more