From e1d528d114fa30e185d22c64445d7b3f9a96f149 Mon Sep 17 00:00:00 2001 From: Tyrel Souza Date: Tue, 28 Aug 2018 22:08:47 -0400 Subject: [PATCH] Rearrange --- good_sprite.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/good_sprite.py b/good_sprite.py index 9735592..4228f16 100644 --- a/good_sprite.py +++ b/good_sprite.py @@ -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)