xarray.DataArray.qplot

DataArray.qplot(*args, **kwargs)[source]

Plot the data.

Plots two-dimensional data using plot_array. For non-two-dimensional data, the method falls back to xarray.DataArray.plot(). Positional and keyword arguments are passed to the selected plotting function.

Parameters:
  • *args – Positional arguments to be passed to the plotting function.

  • **kwargs – Keyword arguments to be passed to the plotting function.

Returns:

matplotlib artist or sequence of artists – For two-dimensional data, the image artist returned by erlab.plotting.plot_array(). For other dimensionalities, the return value from xarray.DataArray.plot().

Notes

Axis labels are formatted with erlab.plotting.fancy_labels() after the data is plotted.