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) Notes
Requires Orca for generating svgs. If orca is not installed, an svg with an error message will be returned.