xarray.DataArray.plot

DataArray.plot

Access plotting functions

>>> d = DataArray([[1, 2], [3, 4]])

For convenience just call this directly >>> d.plot()

Or use it as a namespace to use xarray.plot functions as DataArray methods >>> d.plot.imshow() # equivalent to xarray.plot.imshow(d)