Skip to content

Commit

Permalink
Change the default seat radius factor to .8
Browse files Browse the repository at this point in the history
  • Loading branch information
Gouvernathor authored Jul 10, 2024
1 parent dbcbde4 commit 39814cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parliamentarch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
_GET_SEATS_CENTERS_PARAM_NAMES = {k: p for k, p in signature(get_seats_centers).parameters.items() if p.kind==p.KEYWORD_ONLY}
_WRITE_GROUPED_SVG_PARAM_NAMES = {k: p for k, p in signature(get_grouped_svg).parameters.items() if p.kind==p.KEYWORD_ONLY}

def get_svg_from_attribution(attrib: dict[SeatData, int], *, seat_radius_factor: float = 1., **kwargs) -> str:
def get_svg_from_attribution(attrib: dict[SeatData, int], *, seat_radius_factor: float = .8, **kwargs) -> str:
nseats = sum(attrib.values())
get_seats_centers_kwargs, write_grouped_svg_kwargs, kwargs = filter_kwargs(_GET_SEATS_CENTERS_PARAM_NAMES, _WRITE_GROUPED_SVG_PARAM_NAMES, **kwargs)

Expand Down

0 comments on commit 39814cb

Please sign in to comment.