diff --git a/setup.py b/setup.py index 49c4e5a..5eda8a7 100644 --- a/setup.py +++ b/setup.py @@ -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, diff --git a/simple_dwd_weatherforecast/dwdmap.py b/simple_dwd_weatherforecast/dwdmap.py index d120554..7e5a6a2 100644 --- a/simple_dwd_weatherforecast/dwdmap.py +++ b/simple_dwd_weatherforecast/dwdmap.py @@ -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,