change graph orientation

This commit is contained in:
shoopea
2021-12-05 22:11:15 +08:00
parent 4a5b82000a
commit 365c8a9f91
2 changed files with 5 additions and 5 deletions

2
bot.go
View File

@@ -964,7 +964,7 @@ func botGraphValue(m *tb.Message) {
i++
}
err := p.Save(4*vg.Inch, 6*vg.Inch, "/app/data/points.png")
err := p.Save(6*vg.Inch, 4*vg.Inch, "/app/data/points.png")
logErrorDebug(err, "Stats.ValueGraph : plot.Save")
if err != nil {
bot.SendChat(m.Chat.ID, fmt.Sprintf("plot.Save : %s", err))