tweaks to parse_salles.py
This commit is contained in:
parent
2e77d0eb9b
commit
b38a2fb5cd
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue