(self, row: int, column: int)
return rect
Return a rectangle in local coordinates containing the cell
        at `row` and `column`.
Return a rectangle in local coordinates containing the cell
        at `row` and `column`.
Return a rectangle in local coordinates containing the cell at row and column .
def heatmapCellRect(self, row: int, column: int) -> QRectF:
        """Return a rectangle in local coordinates containing the cell
        at `row` and `column`.
        """
        size = self.__pixmap.size()
        if not (0 <= column < size.width() or 0 <= row < size.height()):
            return QRectF()

        topleft = QPointF(column, row)
        bottomright = QPointF(column + 1, row + 1)
        t = self.__pixmapItem.pixmapTransform()
        rect = t.mapRect(QRectF(topleft, bottomright))
        rect.translated(self.__pixmapItem.pos())
        return rect
def heatmapCellRect ( self , row : int , column : int ) -> QRectF : size = self . __pixmap . size ( ) if not ( 0 <= column < size . width ( ) or 0 <= row < size . height ( ) ) : return QRectF ( ) topleft = QPointF ( column , row ) bottomright = QPointF ( column + 1 , row + 1 ) t = self . __pixmapItem . pixmapTransform ( ) rect = t . mapRect ( QRectF ( topleft , bottomright ) ) rect . translated ( self . __pixmapItem . pos ( ) ) return rect