Skip to content

Commit

Permalink
Pull the text up a notch
Browse files Browse the repository at this point in the history
Make it the equivalent of y=175 in legacy
  • Loading branch information
Gouvernathor committed May 4, 2024
1 parent 5d71e17 commit 88eb138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parliamentarch/svg.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def write_grouped_svg(
if write_number_of_seats:
font_size = round(font_size_factor * canvas_size)
_write_svg_number_of_seats(file, sum(map(len, seat_centers_by_group.values())),
x=left_margin+canvas_size, y=top_margin+canvas_size, font_size=font_size)
x=left_margin+canvas_size, y=top_margin+(canvas_size*170/175), font_size=font_size)
_write_grouped_svg_seats(file, seat_centers_by_group, seat_actual_radius,
canvas_size=canvas_size, left_margin=left_margin, top_margin=top_margin)
_write_svg_footer(file)
Expand Down

0 comments on commit 88eb138

Please sign in to comment.