Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3e78938

Browse files
committed
Text Rotation Example: Correct roation_mode typo
Signed-off-by: Dominik Schmidt <[email protected]>
1 parent c7894e5 commit 3e78938

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/text_labels_and_annotations/demo_text_rotation_mode.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
``horizontalalignment``, ``verticalalignment`` and ``rotation_mode``.
1414
``rotation_mode`` determines the order of rotation and alignment:
1515
16-
- ``roation_mode='default'`` (or None) first rotates the text and then aligns
16+
- ``rotation_mode='default'`` (or None) first rotates the text and then aligns
1717
the bounding box of the rotated text.
18-
- ``roation_mode='anchor'`` aligns the unrotated text and then rotates the
18+
- ``rotation_mode='anchor'`` aligns the unrotated text and then rotates the
1919
text around the point of alignment.
2020
2121
"""

0 commit comments

Comments
 (0)