solarforecastarbiter.reports.figures.plotly_figures.output_svg

solarforecastarbiter.reports.figures.plotly_figures.output_svg(fig)[source]

Generates an SVG from the Plotly figure. Errors in the process are logged and an SVG with error text is returned.

Parameters:fig (plotly.graph_objects.Figure) –
Returns:svg (str)