toyplot.reportlab module¶
Support functions for rendering using ReportLab.
-
toyplot.reportlab.
render
(svg, canvas)[source]¶ Render the SVG representation of a toyplot canvas to a ReportLab canvas.
Parameters: - svg (xml.etree.ElementTree.Element) – SVG representation of a
toyplot.canvas.Canvas
returned bytoyplot.svg.render()
. - canvas (reportlab.pdfgen.canvas.Canvas) – ReportLab canvas that will be used to render the plot.
- svg (xml.etree.ElementTree.Element) – SVG representation of a