column math

This commit is contained in:
Tyrel Souza 2018-08-28 21:20:59 -04:00
parent c1e0f8bbaf
commit c3e6e6d8fe
No known key found for this signature in database
GPG Key ID: 5A9394D4C30AEAC0

10
good.py
View File

@ -44,15 +44,19 @@ def get_goodreads_stats():
return pages, books
def get_stats(pages, books):
col_x = [53, 90, 161]
col_y = [17, 45, 75]
coords = {
"year": [
(53, 17),(107,17),(161,17)
(col_x[0], col_y[0]), (col_x[1],col_y[0]), (col_x[2],col_y[0])
],
"books": [
(53, 45),(107,45),(161,45)
(col_x[0], col_y[1]), (col_x[1],col_y[1]), (col_x[2],col_y[1])
],
"pages": [
(53, 75),(107,75),(161,75)
(col_x[0], col_y[2]), (col_x[1],col_y[2]), (col_x[2],col_y[2])
],
}
_stats = []