INNER CODE UNIT · Python
canvas_cluster_descr
annoviko/pyclustering · pyclustering/cluster/__init__.py:22
class canvas_cluster_descr:
"""!
@brief Description of cluster for representation on canvas.
"""
def __init__(self, cluster, data, marker, markersize, color):
"""!
@brief Constructor of cluster representation on the canvas.
@param[in] cluster (array_like): Single cluster that consists of objects or indexes from data.
@param[in] data (array_like): Objects that should be displayed, can be None if clusters consist of objects instead of indexes.
@param[in] marker (string): Type of marker that is used for drawing objects.
@param[in] markersize (uint): Size of marker that is used for drawing objects.
@param[in] color (string): Color of the marker that is used for drawing objects.
"""
## Cluster that may consist of objects or indexes of objects from data.