diff --git a/library/hatomap.py b/library/hatomap.py index 2454073bef..de2ab1d419 100644 --- a/library/hatomap.py +++ b/library/hatomap.py @@ -149,7 +149,7 @@ def geocoords2pixel_list_ndarray( @dataclass class MapBox: - center: GeoCoord = GeoCoord(5, 40) + center: GeoCoord = field(default_factory=lambda: GeoCoord(5, 40)) zoom: int = 3 width: int = 800 height: int = 800