archetypes.visualization.simplex#
- archetypes.visualization.simplex(data, show_axis=True, axis_params=None, show_vertices=True, vertices_params=None, return_vertices=False, origin=(0, 0), ax=None, **params)#
A simplex plot of data with multiple optional parameters to obtain a customized visualization.
- Parameters:
- datanumpy.ndarray
The data to plot.
- show_axisbool, optional
Whether to show the simplex axis, by default True.
- axis_paramsdict, optional
The parameters to pass to the axis plot. ax.plot(…,**axis_params)
- show_verticesbool, optional
Whether to show the simplex vertices, i.e., archetypes, by default True.
- vertices_paramsdict, optional
The parameters to pass to the vertices plot. ax.scatter(…, **vertices_params)
- return_verticesbool, optional
Whether to return the vertices of the simplex, by default False.
- origintuple, optional
The origin of the simplex, by default (0, 0).
- axmatplotlib.axes.Axes, optional
The axes to plot on, by default None. If None, the current axes will be used.
- **paramsdict, optional
The parameters to pass to the scatter plot. ax.scatter(…, **params)