Skip to contents

Prepare plots to be aligned with align_plots

Usage

alignpatch(x)

Arguments

x

A plot object to be prepared for alignment. ggalign has implement alignpatch method for following objects:

Value

An object Patch object.

See also

Examples

alignpatch(ggplot())
#> <ggproto object: Class PatchGgplot, Patch, gg>
#>     align_border: function
#>     align_panel_sizes: function
#>     collect_guides: function
#>     free_border: function
#>     free_lab: function
#>     get_sizes: function
#>     gt: NULL
#>     patch_gtable: function
#>     plot: gg, ggplot
#>     respect: function
#>     split_gt: function
#>     super:  <ggproto object: Class PatchGgplot, Patch, gg>