xrview.notebook.NotebookViewer.add_figure¶
-
NotebookViewer.
add_figure
(data, glyphs='line', coords=None, name=None)¶ Add a figure to the layout.
- Parameters
- dataxarray.DataArray
The data to display.
- glyphsstr, BaseGlyph or iterable thereof, default ‘line’
The glyph (or glyphs) to display.
- coordsiterable of str, optional
The coordinates of the DataArray to include. This is necessary for composite glyphs such as BoxWhisker.
- namestr, optional
The name of the DataArray which will be used as the title of the figure. If not provided, the name of the DataArray will be used.