get_panel_range: Version safe(r) method to get the y- and x-range from trained scales.
Description
The names of the internal layout objects from ggplot_build
changed
slightly.
Usage
get_panel_y_range(layout, index = 1)get_panel_x_range(layout, index = 1)
get_panel_params(layout, index = 1)
Arguments
- layout
layout
part from ggplot_build
- index
Could be panel number?