xrview.plot

xrview.plot(X, output='html', server=False, **kwargs)[source]

Create a plot from xarray data.

Parameters
X: xarray.DataArray or Dataset

The data to be plotted.

output: ‘html’ or ‘notebook’, default ‘html’

Whether to show the plot in an HTML file or a Jupyter notebook output cell.

server: bool, default False

If True, create a bokeh server app that supports interactions and plotting of large datasets.

kwargs:

Keyword arguments to be passed to the plot instance.

Returns
plot: xrview.BasePanel

A plot instance depending on the options.