xrview.notebook.NotebookTimeseriesViewer.add_figure¶
-
NotebookTimeseriesViewer.
add_figure
(data, glyphs='line', coords=None, name=None, resolution=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.
- resolutionfloat, optional
The number of points to render for each pixel of this figure. If not specified, the resolution of the viewer is used.