Included docstring on _labels_above_threshold function