From fe35b8cf830a8dc78bd8138743e0ffb3d742fa74 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 28 May 2012 21:17:24 +0900 Subject: [PATCH] Revert "forcing scale in intervals graph gives incorrect xaxis" This reverts commit ee691cc608cca6f0598829fddc014b082c013993. --- anki/stats.py | 1 + 1 file changed, 1 insertion(+) diff --git a/anki/stats.py b/anki/stats.py index 19d490b89..eb14c693c 100644 --- a/anki/stats.py +++ b/anki/stats.py @@ -389,6 +389,7 @@ group by day order by day)""" % lim, dict(data=totd, color=colCum, yaxis=2, bars={'show': False}, lines=dict(show=True), stack=False) ], conf=dict( + xaxis=dict(min=-0.5, max=ivls[-1][0]+0.5), yaxes=[dict(), dict(position="right", max=105)])) i = [] self._line(i, _("Average interval"), fmtTimeSpan(avg*86400))