text_color from DEFAULT to LEGACY

This commit is contained in:
Bhavay Malhotra 2024-07-22 14:36:55 +05:30
parent e2f33faa67
commit c5d052ed16
1 changed files with 1 additions and 1 deletions

View File

@ -1011,7 +1011,7 @@ class LabelAnnotator(BaseAnnotator):
def __init__(
self,
color: Union[Color, ColorPalette] = ColorPalette.DEFAULT,
text_color: Union[Color, ColorPalette] = ColorPalette.DEFAULT,
text_color: Union[Color, ColorPalette] = ColorPalette.LEGACY,
text_scale: float = 0.5,
text_thickness: int = 1,
text_padding: int = 10,