mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
don't show hourly perf. graph if few datapoints
This commit is contained in:
parent
a84a95cb1a
commit
c236bc8327
1 changed files with 2 additions and 0 deletions
|
@ -504,6 +504,8 @@ order by thetype, ease""" % lim)
|
|||
mcount = d[2]
|
||||
shifted.sort()
|
||||
counts.sort()
|
||||
if len(counts) < 4:
|
||||
return ""
|
||||
for d in shifted:
|
||||
hour = d[0]
|
||||
pct = d[1]
|
||||
|
|
Loading…
Reference in a new issue