xdas.DataArray.plot#
- DataArray.plot(*args, **kwargs)[source]#
Plot a DataArray.
This plot function uses the xarray way of plotting depending on the number of dimensions your data has. Please for the args and kwargs refer to the corresponding xarray functions.
For a DataArray with one dimension: refer to xarray.plot.line. For a DataArray of 2 dimensions or more: refer to xarray.plot.imshow. For other: refer to xarray.plot.hist.
- Parameters:
*args – See the corresponding xarray args.
**kwargs – See the corresponding xarray kwargs.
- Returns:
The same type of primitive artist that the wrapped Matplotlib function returns.
- Return type:
artist