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 toxarray.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 artistorsequenceofartists– For two-dimensional data, the image artist returned byerlab.plotting.plot_array(). For other dimensionalities, the return value fromxarray.DataArray.plot().
Notes
Axis labels are formatted with
erlab.plotting.fancy_labels()after the data is plotted.