Grid#
- class leather.Grid#
Bases:
object
A container for a set of
Chart
instances that are rendered in a grid layout.- add_many(charts)#
Add a sequence of charts to this grid.
- to_svg(path=None, width=None, height=None)#
Render the grid to an SVG.
The
width
andheight
arguments refer to the size of the entire grid. The size of individual charts will be inferred automatically.See
Chart.to_svg()
for arguments.