class leather.Grid

Bases: object

A container for a set of Chart instances that are rendered in a grid layout.


Add a sequence of charts to this grid.


Add a Chart to the grid.

to_svg(path=None, width=None, height=None)

Render the grid to an SVG.

The width and height arguments refer to the size of the entire grid. The size of individual charts will be inferred automatically.

See Chart.to_svg() for arguments.