File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ def __init__(
131131 self ._anchor_point = anchor_point
132132 self ._anchored_position = anchored_position
133133
134- self ._base_alignment = base_alignment
134+ self .base_alignment = base_alignment
135135
136136 # call the text updater with all the arguments.
137137 self ._reset_text (
@@ -197,7 +197,7 @@ def _reset_text(
197197 if save_text is not None :
198198 self ._save_text = save_text
199199 if base_alignment is not None :
200- self ._base_alignment = base_alignment
200+ self .base_alignment = base_alignment
201201
202202 # if text is not provided as a parameter (text is None), use the previous value.
203203 if (text is None ) and self ._save_text :
@@ -269,7 +269,7 @@ def _reset_text(
269269 self ._padding_top + y_offset ,
270270 )
271271
272- if self ._base_alignment :
272+ if self .base_alignment :
273273 label_position_yoffset = 0
274274 else :
275275 label_position_yoffset = self ._get_ascent () // 2
You can’t perform that action at this time.
0 commit comments