change text position

This commit is contained in:
robert 2024-01-31 22:23:17 +00:00
parent e9960c0ef4
commit 2d21ad81dc

View File

@ -36,7 +36,7 @@ try:
drawblack = ImageDraw.Draw(HBlackimage)
drawry = ImageDraw.Draw(HRYimage)
drawblack.text((2, 0), 'PV Production', font = font16, fill = 0)
drawblack.text((2, 20), 'Hausverbrauch', font = font16, fill = 0)
drawblack.text((2, 16), 'Hausverbrauch', font = font16, fill = 0)
drawblack.text((2, 40), 'Strom Import', font = font16, fill = 0)
drawblack.text((2, 60), 'Batterie', font = font16, fill = 0)
drawblack.text((2, 80), 'Batterie Entladen', font = font16, fill = 0)