From 3e78938e535ba2125e1c478cb0a7bb7ca98aa35f Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Wed, 29 Apr 2020 15:47:08 +0200 Subject: [PATCH] Text Rotation Example: Correct roation_mode typo Signed-off-by: Dominik Schmidt --- .../text_labels_and_annotations/demo_text_rotation_mode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/text_labels_and_annotations/demo_text_rotation_mode.py b/examples/text_labels_and_annotations/demo_text_rotation_mode.py index 0e209b604d7a..52b505c85b99 100644 --- a/examples/text_labels_and_annotations/demo_text_rotation_mode.py +++ b/examples/text_labels_and_annotations/demo_text_rotation_mode.py @@ -13,9 +13,9 @@ ``horizontalalignment``, ``verticalalignment`` and ``rotation_mode``. ``rotation_mode`` determines the order of rotation and alignment: -- ``roation_mode='default'`` (or None) first rotates the text and then aligns +- ``rotation_mode='default'`` (or None) first rotates the text and then aligns the bounding box of the rotated text. -- ``roation_mode='anchor'`` aligns the unrotated text and then rotates the +- ``rotation_mode='anchor'`` aligns the unrotated text and then rotates the text around the point of alignment. """