INNER CODE UNIT · Python

get_cluster_color

annoviko/pyclustering · pyclustering/cluster/__init__.py:630

    def get_cluster_color(self, index_cluster, index_canvas):
        """!
        @brief Returns cluster color on specified canvas.
        
        """
        return self.__canvas_clusters[index_canvas][index_cluster].color


    def save(self, filename, **kwargs):
        """!

        @brief Saves figure to the specified file.

        @param[in] filename (string): File where the visualized clusters should be stored.
        @param[in] **kwargs: Arbitrary keyword arguments (available arguments: 'invisible_axis', 'visible_grid').

        <b>Keyword Args:</b><br>
            - invisible_axis (bool): Defines visibility of axes on each canvas, if `True` - axes are invisible.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…