Skip to contents

Prepare plots to be aligned with align_plots

Usage

alignpatch(x)

Arguments

x

A plot object to be prepared for alignment.

Value

A Patch object.

Details

ggalign has implement alignpatch method for following objects:

See also

Examples

alignpatch(ggplot())
#> <ggproto object: Class PatchGgplot, Patch, ggalign, gg>
#>     add_background: function
#>     add_plot: function
#>     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>