Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
g-battaglia committed Aug 13, 2024
1 parent fa48e11 commit a4fa5f3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion kerykeion/charts/draw_planets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down
2 changes: 1 addition & 1 deletion kerykeion/charts/kerykeion_chart_svg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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", "")}'
Expand Down
7 changes: 1 addition & 6 deletions kerykeion/kr_types/chart_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a4fa5f3

Please sign in to comment.