pyxpcm.plot.quantile

pyxpcm.plot.quantile(m, da, xlim=None, classdimname='pcm_class', quantdimname='quantile', maxcols=3, cmap=None, ylabel='feature dimension', **kwargs)[source]

Plot q-th quantiles of a dataArray for each PCM components

Parameters:
m : pyxpcm.pcm instance
da: :class:`xarray.DataArray` with quantiles
xlim
classdimname
quantdimname
maxcols
Returns:
fig : matplotlib.pyplot.figure.Figure
ax : matplotlib.axes.Axes object or array of Axes objects.

ax can be either a single matplotlib.axes.Axes object or an array of Axes objects if more than one subplot was created. The dimensions of the resulting array can be controlled with the squeeze keyword.