column math
This commit is contained in:
parent
c1e0f8bbaf
commit
c3e6e6d8fe
10
good.py
10
good.py
|
@ -44,15 +44,19 @@ def get_goodreads_stats():
|
||||||
return pages, books
|
return pages, books
|
||||||
|
|
||||||
def get_stats(pages, books):
|
def get_stats(pages, books):
|
||||||
|
|
||||||
|
col_x = [53, 90, 161]
|
||||||
|
col_y = [17, 45, 75]
|
||||||
|
|
||||||
coords = {
|
coords = {
|
||||||
"year": [
|
"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": [
|
"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": [
|
"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 = []
|
_stats = []
|
||||||
|
|
Loading…
Reference in New Issue
Block a user