Skip to content

Commit

Permalink
DOC: Aligning multi-line element_text
Browse files Browse the repository at this point in the history
closes #881
  • Loading branch information
has2k1 committed Oct 24, 2024
1 parent 6f60f5a commit 80468e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plotnine/themes/elements/element_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 80468e4

Please sign in to comment.