(self, y, label, row_sum_)
Draw row counts

        Parameters
        ----------
        y: int
            vertical offset of bars
        label: QGraphicsSimpleTextItem
            Label for group
        row_sum_: int
            Sum for the group
Draw row counts
Draw row counts
def __draw_row_counts(self, y, label, row_sum_):
        """Draw row counts

        Parameters
        ----------
        y: int
            vertical offset of bars
        label: QGraphicsSimpleTextItem
            Label for group
        row_sum_: int
            Sum for the group
        """
        assert not self.attribute.is_continuous
        b = label.boundingRect()
        right = self.scale_x * row_sum_
        label.setPos(right + 10, y - b.height() / 2)
        self.box_scene.addItem(label)
def __draw_row_counts ( self , y , label , row_sum_ ) : assert not self . attribute . is_continuous b = label . boundingRect ( ) right = self . scale_x * row_sum_ label . setPos ( right + 10 , y - b . height ( ) / 2 ) self . box_scene . addItem ( label )