archetypes.visualization.bisimplex#

archetypes.visualization.bisimplex(alphas, archetypes, ax=None, **kwargs)#

A plot of archetypes with its corresponding alphas in simplex coordinates.

Parameters:
alphas: list of numpy.ndarray

The archetypal representation of the dataset for each dimension.

archetypes: numpy.ndarray

The archetypes.

ax: matplotlib.pyplot.axes or None

The axes to plot on. If None, a new figure and axes is created.

kwargs: dict

Additional keyword arguments to pass to the simplex plots.

Returns:
ax: matplotlib.pyplot.axes

The axes.