@@ -123,7 +123,7 @@ def __init__(self,
123
123
124
124
The text is aligned relative to the anchor point (*x*, *y*) according
125
125
to ``horizontalalignment`` (default: 'left') and ``verticalalignment``
126
- (default: 'bottom '). See also
126
+ (default: 'baseline '). See also
127
127
:doc:`/gallery/text_labels_and_annotations/text_alignment`.
128
128
129
129
While Text accepts the 'label' keyword argument, by default it is not
@@ -1002,7 +1002,7 @@ def set_horizontalalignment(self, align):
1002
1002
1003
1003
Parameters
1004
1004
----------
1005
- align : {'left', 'center', 'right'}
1005
+ align : {'left', 'center', 'right'}, default: left
1006
1006
"""
1007
1007
_api .check_in_list (['center' , 'right' , 'left' ], align = align )
1008
1008
self ._horizontalalignment = align
@@ -1251,7 +1251,7 @@ def set_verticalalignment(self, align):
1251
1251
1252
1252
Parameters
1253
1253
----------
1254
- align : {'bottom', 'baseline', 'center', 'center_baseline', 'top'}
1254
+ align : {'bottom', 'baseline', 'center', 'center_baseline', 'top'}, default: baseline
1255
1255
"""
1256
1256
_api .check_in_list (
1257
1257
['top' , 'bottom' , 'center' , 'baseline' , 'center_baseline' ],
0 commit comments