xarray.DataArray.plot

property DataArray.plot

Access plotting functions for DataArray’s

>>> 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)