weather position updates
This commit is contained in:
parent
c4ecc041a4
commit
3a4347a44a
@ -1 +1 @@
|
||||
14/06/2021 14:16:14
|
||||
14/06/2021 14:19:22
|
||||
|
|
@ -1,4 +1,4 @@
|
||||
name,current,opening
|
||||
MSFT,258.43,257.9
|
||||
NFLX,500.5603,489.68
|
||||
GOOG,2507.77,2513.39
|
||||
MSFT,258.44,257.9
|
||||
NFLX,500.93,489.68
|
||||
GOOG,2508.46,2513.39
|
||||
|
|
@ -638,7 +638,7 @@ class StockTicker():
|
||||
img.paste(min_img, (66, 12))
|
||||
|
||||
max_img = self.textImage( "{0:.0f}".format(current_weather['max_temp']), small_font, r=255, g=0, b=0)
|
||||
img.paste(max_img, (66, 22))
|
||||
img.paste(max_img, (66, 21))
|
||||
|
||||
hum_img = Image.open(weather_dir + '/humidity.png')
|
||||
img.paste(hum_img, ( 82, 8))
|
||||
@ -780,7 +780,7 @@ class StockTicker():
|
||||
img.paste(deg_img, (50, 8))
|
||||
img.paste(min_img, (55, 10))
|
||||
img.paste(main_img, (30, 26))
|
||||
img.paste(max_img, (55, 20))
|
||||
img.paste(max_img, (55, 19))
|
||||
img.paste(date_img, (location_img.size[0], 1))
|
||||
|
||||
|
||||
@ -832,7 +832,7 @@ class StockTicker():
|
||||
img.paste(day_img, (x_offset +5, 9))
|
||||
img.paste(weather_img, (x_offset +5, 16))
|
||||
img.paste(min_img, (x_offset + 25, 10))
|
||||
img.paste(max_img, (x_offset + 25, 21))
|
||||
img.paste(max_img, (x_offset + 25, 20))
|
||||
|
||||
x_offset += 35
|
||||
|
||||
@ -958,7 +958,7 @@ class StockTicker():
|
||||
img.paste(deg_img, (50, 8))
|
||||
img.paste(min_img, (55, 10))
|
||||
img.paste(main_img, (30, 26))
|
||||
img.paste(max_img, (55, 20))
|
||||
img.paste(max_img, (55, 19))
|
||||
img.paste(date_img, (location_img.size[0], 1))
|
||||
|
||||
|
||||
@ -1015,7 +1015,7 @@ class StockTicker():
|
||||
img.paste(day_img, (x_offset +5, 9))
|
||||
img.paste(weather_img, (x_offset +5, 16))
|
||||
img.paste(min_img, (x_offset + 25, 10))
|
||||
img.paste(max_img, (x_offset + 25, 21))
|
||||
img.paste(max_img, (x_offset + 25, 20))
|
||||
|
||||
x_offset += 40
|
||||
|
||||
|
BIN
weather.ppm
BIN
weather.ppm
Binary file not shown.
Loading…
Reference in New Issue
Block a user