From 98b1ee178b23239dab3853bc02bd79e1fa89f622 Mon Sep 17 00:00:00 2001 From: Daniel Soukup Date: Sat, 31 Aug 2024 16:29:41 -0400 Subject: [PATCH] adjust formatting for indicators --- app/assets/styles.css | 2 +- app/src/plotting.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/styles.css b/app/assets/styles.css index fd77ec1..4aa4d93 100644 --- a/app/assets/styles.css +++ b/app/assets/styles.css @@ -15,7 +15,7 @@ body { .card-title { color: #2D2D32; font-family: "Familjen Grotesk", sans-serif; - font-weight: 600; + font-weight: 550; font-size: 35px; } diff --git a/app/src/plotting.py b/app/src/plotting.py index 7bfb07a..30e9845 100644 --- a/app/src/plotting.py +++ b/app/src/plotting.py @@ -499,7 +499,7 @@ def _get_indicator( value and delta in percentage. """ # round numbers - value = round(value, 2) + value = round(value, 1) elements = [] @@ -520,7 +520,7 @@ def _get_indicator( elements.append(value_line) if delta: - delta = round(delta, 2) + delta = round(delta, 1) # check sign to set color & logo appropriately if delta >= 0: