tweaks to parse_salles.py

This commit is contained in:
Simon Lancelin 2024-11-23 22:41:27 +01:00
parent 2e77d0eb9b
commit b38a2fb5cd
1 changed files with 2 additions and 2 deletions

View File

@ -84,8 +84,8 @@ def create_image(coordinates, hour, day):
# Draw the coordinates in a table format with alternating row colors # Draw the coordinates in a table format with alternating row colors
y_text = 200 y_text = 200
line_height = 50 line_height = 45
padding = 10 padding = 8
for i, (room, room_type) in enumerate(coordinates): for i, (room, room_type) in enumerate(coordinates):
if y_text + line_height + padding > 3000: if y_text + line_height + padding > 3000:
break break