aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-08-25 16:09:31 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-08-25 16:09:31 +0200
commitfb1d31fdcd5d5c8b31bb098c34143996d47e618f (patch)
tree41fd165f467a99fef784e05759c71d89605a85ef /README.md
parenta7941bb92df67686b018fbb601cbf413ea909d14 (diff)
downloadprognosis-fb1d31fdcd5d5c8b31bb098c34143996d47e618f.tar.gz
prognosis-fb1d31fdcd5d5c8b31bb098c34143996d47e618f.zip
chart: label a narrow axis in decimals
A span of 1.2 degrees rounded to whole degrees printed "15" against both the middle and bottom rows, so the axis asserted that two rows drawn at different heights were the same temperature. It reads as a rendering fault, and the scale becomes useless exactly when the chart is at its most magnified. Below a two degree span the labels carry one decimal. Two degrees is where five rows put adjacent labels half a degree apart, which still rounds apart; below that they collide. A decimal label that would not fit the gutter -- well below freezing, where the minus sign costs a column -- falls back to whole degrees, which is wrong but legible and beats shearing the column. The gutter widens by one to hold "16.0°".
Diffstat (limited to 'README.md')
-rw-r--r--README.md22
1 files changed, 11 insertions, 11 deletions
diff --git a/README.md b/README.md
index 50ce8fd..1d79322 100644
--- a/README.md
+++ b/README.md
@@ -13,26 +13,26 @@ one creeps in.
```
Krakow, PL Tue 25 Aug 05:44 up 19:39 down GMT+2
day 12-17° rain 1.9mm over 7h sun 0h43m of 13h54m daylight
- pollen ragweed 6.9 mugwort 4.4 low grass 3.1 low birch 0.0 none
+ pollen ragweed 5.0 mugwort 4.4 low grass 3.1 low birch 0.0 none
hr temp feels conditions hum mm rain
- 15 16° lt drizzle 79% 0.3 70%
- 16 16° 80% 0.3 44%
+ 16 16° lt drizzle 80% 0.3 44%
17 16° overcast 77% 0.0 27%
18 16° lt drizzle 78% 0.1 27%
19 15° 86% 0.2 36%
20 15° 87% 0.4 45%
21 15° 85% 0.2 52%
22 15° (14) overcast 80% 0.0 58%
+ 23 15° 78% 0.0 59%
- 16°│ ████████████████
- │████████▄▄▄▄▄▄▄▄████████████████
- 15°│████████████████████████████████
- │████████████████████████████████▄▄▄▄▄▄▄▄ ████████
- 15°│████████████████████████████████████████▄▄▄▄▄▄▄▄████████████████
-rain│▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▁▁▁▁▁▁▁▁▃▃▃▃▃▃▃▃▅▅▅▅▅▅▅▅████████▅▅▅▅▅▅▅▅▁▁▁▁▁▁▁▁ max 0.4mm
- 15 16 17 18 19 20 21 22
- 15-16°
+15.9°│ ████████████████
+ │▄▄▄▄▄▄▄▄████████████████
+15.2°│████████████████████████ ▄▄▄▄▄▄▄▄
+ │████████████████████████▄▄▄▄▄▄▄▄ ████████████████
+14.6°│████████████████████████████████▄▄▄▄▄▄▄▄████████████████████████
+ rain│▆▆▆▆▆▆▆▆▁▁▁▁▁▁▁▁▃▃▃▃▃▃▃▃▅▅▅▅▅▅▅▅████████▅▅▅▅▅▅▅▅▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ max 0.4mm
+ 16 17 18 19 20 21 22 23
+ 14.6°-15.9°
```
When IMGW has issued a warning for your powiat, it leads the output: