(
            self, data: np.ndarray, colormap: ColorMap = None, name=""
    )
Set an optional row side color annotations.

        Parameters
        ----------
        data: Optional[np.ndarray]
            A sequence such that it is accepted by `colormap.apply`. If None
            then the color annotations are cleared.
        colormap: ColorMap
        name: str
            Name/title for the annotation column.
Set an optional row side color annotations.
Set an optional row side color annotations .
def setRowSideColorAnnotations(
            self, data: np.ndarray, colormap: ColorMap = None, name=""
    ):
        """
        Set an optional row side color annotations.

        Parameters
        ----------
        data: Optional[np.ndarray]
            A sequence such that it is accepted by `colormap.apply`. If None
            then the color annotations are cleared.
        colormap: ColorMap
        name: str
            Name/title for the annotation column.
        """
        col = self.Col0 + 2 * len(self.parts.columns)
        legend_layout = self.bottom_legend_container.layout()
        legend_container = legend_layout.itemAt(1)
        self.__setColorAnnotationsHelper(
            data, colormap, name, self.right_side_colors, col, Qt.Vertical,
            legend_container
        )
        legend_container.setVisible(True)
def setRowSideColorAnnotations ( self , data : np . ndarray , colormap : ColorMap = None , name = "" ) : col = self . Col0 + 2 * len ( self . parts . columns ) legend_layout = self . bottom_legend_container . layout ( ) legend_container = legend_layout . itemAt ( 1 ) self . __setColorAnnotationsHelper ( data , colormap , name , self . right_side_colors , col , Qt . Vertical , legend_container ) legend_container . setVisible ( True )