(self, index)
return int(loc_y)
helper
helper
helper
def index_to_line(self, index):
        """ helper
        """
        coord_x, coord_y = self.index_to_coords(index)
        loc_x, loc_y = self.data_to_pixel(coord_x, coord_y)  # pylint: disable=unused-variable
        loc_y -= self._header_height + self._char_height + self._ver_spacing
        loc_y = loc_y / (self._char_height + self._ver_spacing)
        return int(loc_y)
def index_to_line ( self , index ) : coord_x , coord_y = self . index_to_coords ( index ) loc_x , loc_y = self . data_to_pixel ( coord_x , coord_y ) # pylint: disable=unused-variable loc_y -= self . _header_height + self . _char_height + self . _ver_spacing loc_y = loc_y / ( self . _char_height + self . _ver_spacing ) return int ( loc_y )