archetypes.visualization.simplex#
- archetypes.visualization.simplex(points, origin=(0, 0), show_points=True, show_direction=False, direction_color='black', direction_alpha=0.2, show_edges=True, show_circle=False, ax=None, labels=None, show_vertices=False, color='lightgray', vertices_color='k', vertices_size=200, vertices_labels=None, return_vertices=False, **kwargs)#
A simplex plot of points with multiple optional parameters to obtain a customized visualization.
- Parameters:
- pointsnumpy.ndarray
The points to plot.
- origintuple of float
The origin of the simplex in the plot.
- show_pointsbool
If True, points are displayed.
- show_directionbool
If True, direction arrows are displayed.
- direction_colorcolor
Set the color of the direction arrows.
- direction_alpha: scalar or None
Set the alpha of the direction arrows. It must be within the 0-1 range, inclusive.
- show_edgesbool
If True, the edges of the plot are displayed.
- show_circlebool
If True, the circle of the plot are displayed.
- axmatplotlib.pyplot.axes or None
The axes
- labelslist or None
A list of labels for the points. If None, no labels are displayed.
- show_verticesbool
If True, the vertices of the simplex are displayed.
- vertices_colorcolor
Set the color of the vertices.
- vertices_sizescalar
Set the size of the vertices.
- vertices_labelslist or None
A list of labels for the vertices. If None, no labels are displayed.
- return_verticesbool
If True, the coordinates of the vertices are returned along with the axes. If False, only the axes are returned.
- kwargs