TextData.label_for_display#

TextData.label_for_display(model_classes: Optional[list] = None) Union[Sequence[Union[int, str, Tuple[Union[int, str]]]], Sequence[Sequence[Union[str, int]]], Sequence[None]][source]#

Return the label defined in the dataset in a format that can be displayed.

Parameters
model_classeslist, default None

List of classes names to use for multi-label display. Only used if the dataset is multi-label.

Returns
TTextLabel