Skip to content

Commit

Permalink
Testing some changes to the style of agents drawn on the map
Browse files Browse the repository at this point in the history
  • Loading branch information
pclemow committed Aug 23, 2024
1 parent 95e6cf8 commit 0015a42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/svg.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def generate_sld_location_svg(
def generate_map_location_svg(
x_coordinates: list[float],
y_coordinates: list[float],
dot_size: float = 1.5,
dot_size: float = 3,
colour: str = "#6A0DAD",
) -> SVG:
"""Generates an SVG of agent/EV locations for placement over the map image.
Expand All @@ -274,8 +274,8 @@ def generate_map_location_svg(
for x, y in zip(x_coordinates, y_coordinates):
svg += (
f'<circle fill="{colour}" '
f'stroke="#000000" '
f'stroke-width="0" '
f'stroke="#FFFFFF" '
f'stroke-width="1" '
f'cx="{x}" '
f'cy="{y}" '
f'r="{dot_size}"/>\n'
Expand Down

0 comments on commit 0015a42

Please sign in to comment.