diff --git a/plotnine/themes/elements/element_text.py b/plotnine/themes/elements/element_text.py index 6cdfa18c7..145f86994 100644 --- a/plotnine/themes/elements/element_text.py +++ b/plotnine/themes/elements/element_text.py @@ -38,6 +38,8 @@ class element_text(element_base): Horizontal Alignment. va : Vertical alignment. + ma : + Horizontal Alignment for multiline text. rotation : Rotation angle in the range [0, 360]. The `rotation` is affected by the `rotation_mode`. @@ -88,6 +90,7 @@ def __init__( Literal["center", "top", "bottom", "baseline", "center_baseline"] | float ] = None, + ma: Optional[Literal["center", "left", "right"] | float] = None, rotation: Optional[ Literal["vertical", "horizontal"] | float