Assembles the layers into ggplot2 objects, applies shared theming and legend deduplication across layers, and composes the final output with patchwork.
Value
The input object, with object$plot (per-layer ggplot2
objects) and object$output (the final composed plot) populated.
Details
The user does not typically invoke this function directly. Instead, it is
called automatically when plot() is called.