From 4ffb226da35f36dbf911d32f2f116c5e9f6f5ef3 Mon Sep 17 00:00:00 2001 From: ChuckBuilds <33324927+ChuckBuilds@users.noreply.github.com> Date: Sat, 12 Apr 2025 20:03:36 -0500 Subject: [PATCH] Make stock chart line thinner and more elegant --- src/stock_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stock_manager.py b/src/stock_manager.py index d47b581b..87e830ff 100644 --- a/src/stock_manager.py +++ b/src/stock_manager.py @@ -612,11 +612,11 @@ class StockManager: # Draw the line if len(points) >= 2: - draw.line(points, fill=(0, 255, 0) if change >= 0 else (255, 0, 0), width=2) + draw.line(points, fill=(0, 255, 0) if change >= 0 else (255, 0, 0), width=1) # Draw dots at each point for point in points: - draw.ellipse([point[0]-2, point[1]-2, point[0]+2, point[1]+2], + draw.ellipse([point[0]-1, point[1]-1, point[0]+1, point[1]+1], fill=(0, 255, 0) if change >= 0 else (255, 0, 0)) # Return the full image without cropping