diff --git a/kerykeion/charts/draw_planets.py b/kerykeion/charts/draw_planets.py index 2cac79b..631f0e4 100644 --- a/kerykeion/charts/draw_planets.py +++ b/kerykeion/charts/draw_planets.py @@ -9,7 +9,7 @@ def draw_planets( - radius: int, + radius: Union[int, float], available_kerykeion_celestial_points: list[KerykeionPointModel], available_planets_setting: list[KerykeionSettingsCelestialPointModel], third_circle_radius: Union[int, float], diff --git a/kerykeion/charts/kerykeion_chart_svg.py b/kerykeion/charts/kerykeion_chart_svg.py index e947f45..9f05426 100755 --- a/kerykeion/charts/kerykeion_chart_svg.py +++ b/kerykeion/charts/kerykeion_chart_svg.py @@ -365,7 +365,7 @@ def _create_template_dictionary(self) -> ChartTemplateDictionary: template_dict["stringTitle"] = self.user.name # Set bottom left corner information - template_dict["bottomLeft0"] = f"{self.user.zodiac_type if self.user.zodiac_type == 'Tropic' else self.user.zodiac_type + ' ' + self.user.sidereal_mode}" + template_dict["bottomLeft0"] = f"{self.user.zodiac_type if self.user.zodiac_type == 'Tropic' else str(self.user.zodiac_type) + ' ' + str(self.user.sidereal_mode)}" template_dict["bottomLeft1"] = f"{self.user.houses_system_name}" if self.chart_type in ["Natal", "ExternalNatal", "Synastry"]: template_dict["bottomLeft2"] = f'{self.language_settings.get("lunar_phase", "Lunar Phase")}: {self.language_settings.get("day", "Day")} {self.user.lunar_phase.get("moon_phase", "")}' diff --git a/kerykeion/kr_types/chart_types.py b/kerykeion/kr_types/chart_types.py index 1306e7a..4823bc4 100644 --- a/kerykeion/kr_types/chart_types.py +++ b/kerykeion/kr_types/chart_types.py @@ -19,12 +19,7 @@ class ChartTemplateDictionary(TypedDict): bottomLeft2: str bottomLeft3: str bottomLeft4: str - lunar_phase_fg: str - lunar_phase_bg: str - lunar_phase_cx: int - lunar_phase_r: int - lunar_phase_outline: str - lunar_phase_rotate: float + moon_phase: str stringLocation: str stringDateTime: str stringLat: str