def define_title(overlap_kind):
    """
    This function sets the specification of the title of the plots.

    :param bool overlap_kind: the boolean that determines if the overlap
                              is per pixel or shoebox
    :returns: title
    """
    if overlap_kind:
        title = "per pixel"
    else:
        title = "per shoebox"

    return title