Skip to content

Commit

Permalink
Fix wrong latitude correction
Browse files Browse the repository at this point in the history
  • Loading branch information
FL550 committed Oct 7, 2024
1 parent c8ed1ac commit 918bf57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="simple_dwd_weatherforecast",
version="2.1.8",
version="2.1.9",
author="Max Fermor",
description="A simple tool to retrieve a weather forecast from DWD OpenData",
long_description=long_description,
Expand Down
2 changes: 1 addition & 1 deletion simple_dwd_weatherforecast/dwdmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def draw_marker(
)
* image.width,
(
(image_bounderies.minY - marker.latitude)
(image_bounderies.maxY - marker.latitude)
/ (image_bounderies.maxY - image_bounderies.minY)
)
* image.height,
Expand Down

0 comments on commit 918bf57

Please sign in to comment.