render_facets_pdf
Mojo function 🡭
render_facets_pdf
fn def render_facets_pdf(plots: List[AnyChart], cols: Int, shared_y_scale: Bool = False, shared_x_scale: Bool = False, title: String = "") -> PdfCanvasrender_facets()’s counterpart for a one-page PdfCanvas, with the same cols guard, title band and _render_facets_generic core (#372). The figure’s size is in points, 1/72 inch, so the page is the figure.
Args:
- plots (
List[AnyChart]): The charts, one per cell. - cols (
Int): Cells per row. - shared_y_scale (
Bool): Give every cell one y-domain. - shared_x_scale (
Bool): Give every cell one x-domain. The continuous marks pool their x extents; categorical cells must name the same categories in the same order. - title (
String): A figure title above the cells.
Returns:
PdfCanvas: The finished document.
Raises:
Error: As render_facets().