xarray.plot.line

xarray.plot.line(darray, *args, **kwargs)

Line plot of 1 dimensional DataArray index against values

Wraps matplotlib.pyplot.plot

Parameters:

darray : DataArray

Must be 1 dimensional

ax : matplotlib axes, optional

If not passed, uses the current axis

*args, **kwargs : optional

Additional arguments to matplotlib.pyplot.plot