pyxpcm.plot.preprocessed

pyxpcm.plot.preprocessed(m, ds, features=None, dim=None, n=1000, kde=False, style='darkgrid', **kargs)[source]

Plot preprocessed features as pairwise scatter plots

Require seaborn

Parameters:
:class:`pyxpcm.pcm` instance
ds: :class:`xarray.Dataset`

The dataset to work with

features: dict()

Definitions of PCM features in the input xarray.Dataset. If not specified or set to None, features are identified using xarray.DataArray attributes ‘feature_name’.

n : int

Number of samples to use in scatter plots

Returns:
g : seaborn.axisgrid.PairGrid

Seaborn Pairgrid instance

__author__: gmaze@ifremer.fr