mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 04:33:11 +03:00
fix(chart): Corrects chart size for large number of dates
This commit is contained in:
parent
1a3c751abc
commit
20773385f4
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ async def create_chart(
|
||||||
for row in data:
|
for row in data:
|
||||||
date.append(str(row['date']))
|
date.append(str(row['date']))
|
||||||
rate.append(row['rate'])
|
rate.append(row['rate'])
|
||||||
width = 18.5 + (len(date) // 5) * 2
|
width = 18.5 + (len(date) // 5) * 3
|
||||||
fig.set_size_inches(width, 9.5)
|
fig.set_size_inches(width, 9.5)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue