xrview.html.HtmlPlot.export

HtmlPlot.export(filename, mode='auto')

Export the layout as as png or svg file.

Parameters
filenamestr

The path of the exported file.

mode‘auto’, ‘png’ or ‘svg’, default ‘auto’

Whether to export as png or svg. Note that multi-figure layouts will be split into individual files for each figure in the svg mode. ‘auto’ will try to determine the mode automatically from the file extension.