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

A Patch object.

See also

Examples

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