From 5307498522bd38236578cba56d0524b6e3512630 Mon Sep 17 00:00:00 2001
From: XANTRONIX Industrial <xan@xantronix.com>
Date: Mon, 3 Mar 2025 17:20:29 -0500
Subject: [PATCH] Zoom hodograph out a bit

---
 lib/xmet/hodograph.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lib/xmet/hodograph.py b/lib/xmet/hodograph.py
index 963cd08..731e863 100644
--- a/lib/xmet/hodograph.py
+++ b/lib/xmet/hodograph.py
@@ -40,8 +40,12 @@ class Hodograph():
 
             box_width  = max_x - min_x
             box_height = max_y - min_y
-            box        = max(box_width, box_height)
+            box        = max(box_width, box_height) * 1.5
 
+            #
+            # Ensure the data points are centered within the hodograph
+            # viewbox.
+            #
             offset_x = self.width  * ((box - box_width)  / box) / 2
             offset_y = self.height * ((box - box_height) / box) / 2