Rearrange

This commit is contained in:
Tyrel Souza 2018-08-28 22:08:47 -04:00
parent 27da48007e
commit e1d528d114
No known key found for this signature in database
GPG Key ID: 5A9394D4C30AEAC0

View File

@ -74,9 +74,9 @@ def get_goodreads_stats():
def get_stats(pages, books):
size = 3
col_w, col_h = 40, 32
x_start, y_start = 53, 10
col_w, col_h = 50, 32
x_start, y_start = 60, 14
row_offsets = [0,5,0]
rows = ["year", "books", "pages"]
@ -104,6 +104,8 @@ def draw(stats):
inkyphat.set_colour(colour)
inkyphat.set_border(inkyphat.WHITE)
inkyphat.set_image("./background.png")
inkyphat.show()
draw_row('year', stats, 12)
draw_row('books', stats, 18)