pub fn compute_layout_in_rect(
cell: &Rect,
config: &LayoutConfig,
) -> LayoutResultExpand description
Convenience wrapper that runs compute_layout within a specific
rectangle (e.g., one cell of a subplot grid).
The returned LayoutResult uses the same coordinate system as the
input cell — that is, all positions are in figure-pixel coordinates, not
relative to the cell origin.