nicholasehamilton / ggtern

Extension to ggplot2 for plotting ternary diagrams
www.ggtern.com
55 stars 14 forks source link

Error when using grid.arrange(plot1,plot2) #16

Open nicholasehamilton opened 10 years ago

nicholasehamilton commented 10 years ago

Error in UseMethod("scale_transform") : no applicable method for 'scale_transform' applied to an object of class "NULL"

nicholasehamilton commented 10 years ago

Use of grid.arrange (from the gridExtra package) doesn't function as expected. From what I can tell, this is because the local copy of ggplot_build is NOT being run, rather, the original function from the ggplot2 package is being called, and, hence the patched functionality unique to ggtern is essentially being circumvented.

AEBilgrau commented 9 years ago

A reproducible example can be fund here.