From d4741f6fcb82ca72de021bd71df17a8219da8549 Mon Sep 17 00:00:00 2001 From: philipbergen Date: Sun, 3 Mar 2019 18:00:12 -1000 Subject: [PATCH] Fix error message on text.draw_text:anchor_y (#1) Fix error message on text.draw_text:anchor_y --- arcade/text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arcade/text.py b/arcade/text.py index 88fd31842e..b51efcc0fd 100644 --- a/arcade/text.py +++ b/arcade/text.py @@ -275,7 +275,7 @@ def draw_text(text: str, elif anchor_y == "bottom" or anchor_y == "baseline": text_sprite.bottom = start_y else: - raise ValueError(f"anchor_x should be 'left', 'center', or 'right'. Not '{anchor_y}'") + raise ValueError(f"anchor_x should be 'top', 'center', 'bottom', or 'baseline'. Not '{anchor_y}'") text_sprite.angle = rotation