diff --git a/lib/xmet/hodograph.py b/lib/xmet/hodograph.py index 586212a..9110ad3 100644 --- a/lib/xmet/hodograph.py +++ b/lib/xmet/hodograph.py @@ -124,11 +124,11 @@ class Hodograph(): legends = { '0°': ( lambda e: x + cx - e.width / 2, - lambda e: y + self.height - 2 * e.height + lambda e: y + self.height - e.height ), '90°': ( - lambda e: x + cx - e.width * 2, + lambda e: x + e.height, lambda e: y + cy + e.height / 2 ), @@ -138,7 +138,7 @@ class Hodograph(): ), '270°': ( - lambda e: x + self.width - e.width * 2, + lambda e: x + self.width - e.width - e.height, lambda e: y + cy + e.height / 2 ) }