Skip to content
render_facets_svg

render_facets_svg

Mojo function 🡭

render_facets_svg

fn def render_facets_svg(plots: List[AnyChart], cols: Int, shared_y_scale: Bool = False, shared_x_scale: Bool = False, title: String = "") -> SvgCanvas

render_facets()’s counterpart for SvgCanvas, with the same cols guard, title band and _render_facets_generic core.

Args:

  • plots (List[AnyChart])
  • cols (Int)
  • shared_y_scale (Bool)
  • shared_x_scale (Bool)
  • title (String)

Returns:

SvgCanvas

Raises:

fn def render_facets_svg[*Cs: ChartLike](*charts: *Cs.values, *, cols: Int, shared_y_scale: Bool = False, shared_x_scale: Bool = False, title: String = "") -> SvgCanvas

render_facets_svg(plots, cols) for charts named one by one.

Parameters:

  • *Cs (ChartLike)

Args:

  • *charts (*Cs.values)
  • cols (Int)
  • shared_y_scale (Bool)
  • shared_x_scale (Bool)
  • title (String)

Returns:

SvgCanvas

Raises: