(
            self, data: np.ndarray, colormap: ColorMap = None, name=""
    )
Set an optional column 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 column color annotations.
Set an optional column color annotations .
def setColumnSideColorAnnotations(
            self, data: np.ndarray, colormap: ColorMap = None, name=""
    ):
        """
        Set an optional column 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.
        """
        row = self.TopAnnotationRow
        legend_layout = self.bottom_legend_container.layout()
        legend_container = legend_layout.itemAt(0)
        self.__setColorAnnotationsHelper(
            data, colormap, name, self.top_side_colors, row, Qt.Horizontal,
            legend_container)
        legend_container.setVisible(True)
def setColumnSideColorAnnotations ( self , data : np . ndarray , colormap : ColorMap = None , name = "" ) : row = self . TopAnnotationRow legend_layout = self . bottom_legend_container . layout ( ) legend_container = legend_layout . itemAt ( 0 ) self . __setColorAnnotationsHelper ( data , colormap , name , self . top_side_colors , row , Qt . Horizontal , legend_container ) legend_container . setVisible ( True )