kopia lustrzana https://github.com/mkdryden/telegram-stats-bot
stats: increase minimum title plot height
rodzic
7f66b3dadf
commit
a89659ba7a
|
@ -32,6 +32,7 @@ Fixed
|
||||||
- Date selection for word statistics was broken
|
- Date selection for word statistics was broken
|
||||||
- Incorrect datatype for column in user_events table
|
- Incorrect datatype for column in user_events table
|
||||||
- Modify docker-compose file to set up host authentication with md5
|
- Modify docker-compose file to set up host authentication with md5
|
||||||
|
- Increase minimum title plot height
|
||||||
|
|
||||||
----------
|
----------
|
||||||
`0.7.0`_ - 2023-01-14
|
`0.7.0`_ - 2023-01-14
|
||||||
|
|
|
@ -665,7 +665,7 @@ class StatsRunner(object):
|
||||||
df.loc[:, 'end'] = df_end
|
df.loc[:, 'end'] = df_end
|
||||||
df.loc[:, 'diff'].iloc[-1] = df.iloc[-1]['end'] - df.iloc[-1]['date']
|
df.loc[:, 'diff'].iloc[-1] = df.iloc[-1]['end'] - df.iloc[-1]['date']
|
||||||
|
|
||||||
fig = Figure(constrained_layout=True, figsize=(12, 0.15 * len(df)))
|
fig = Figure(constrained_layout=True, figsize=(12, 1+0.15 * len(df)))
|
||||||
ax = fig.subplots()
|
ax = fig.subplots()
|
||||||
|
|
||||||
if duration:
|
if duration:
|
||||||
|
|
Ładowanie…
Reference in New Issue