diff --git a/src/parliamentarch/svg.py b/src/parliamentarch/svg.py index 311d34a..42d5487 100644 --- a/src/parliamentarch/svg.py +++ b/src/parliamentarch/svg.py @@ -157,8 +157,14 @@ def _append_grouped_svg_seats( group_border_color = group_border_color.hexcode buffer.append(f""" - + """) + if group.data: + buffer.append(f""" {group.data}""") for x, y in seat_centers: