CornerAnnotation.set_text

Contents

CornerAnnotation.set_text#

CornerAnnotation.set_text(
position: Literal['lower_left', 'lower_right', 'upper_left', 'upper_right', 'lower_edge', 'upper_edge', 'left_edge', 'right_edge', 'll', 'lr', 'ul', 'ur', 'top', 'bottom', 'right', 'r', 'left', 'l'] | int,
text: str,
) → None[source]#

Set the text to be displayed for each corner.

Parameters:
positionstr | bool | int

Position of the text. Either the name of a corner, True for the upper left one, or the index of a corner.

textstr

Text to be displayed for each corner.