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
figsize : tuple, optional
A tuple (width, height) of the figure in inches. Mutually exclusive with
sizeandax.aspect : scalar, optional
Aspect ratio of plot, so that
aspect * sizegives the width in inches. Only used if asizeis provided.size : scalar, optional
If provided, create a new figure for the plot with the given size. Height (in inches) of each plot. See also:
aspect.ax : matplotlib axes object, optional
Axis on which to plot this figure. By default, use the current axis. Mutually exclusive with
sizeandfigsize.*args, **kwargs : optional
Additional arguments to matplotlib.pyplot.plot