mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
move cumulative due graph down
This commit is contained in:
parent
ecce83e520
commit
4b3cb8354c
2 changed files with 6 additions and 5 deletions
|
@ -163,11 +163,6 @@ def intervalGraph(parent, deck):
|
|||
vbox.addWidget(nextDue)
|
||||
widgets.append(nextDue)
|
||||
|
||||
cumDue = AdjustableFigure(parent.config, 'cum', dg.cumulativeDue, range)
|
||||
cumDue.addWidget(QLabel(_("<h1>Cumulative Due</h1>")))
|
||||
vbox.addWidget(cumDue)
|
||||
widgets.append(cumDue)
|
||||
|
||||
workload = AdjustableFigure(parent.config, 'reps', dg.workDone, range)
|
||||
workload.addWidget(QLabel(_("<h1>Reviews</h1>")))
|
||||
vbox.addWidget(workload)
|
||||
|
@ -184,6 +179,11 @@ def intervalGraph(parent, deck):
|
|||
vbox.addWidget(answered)
|
||||
widgets.append(answered)
|
||||
|
||||
cumDue = AdjustableFigure(parent.config, 'cum', dg.cumulativeDue, range)
|
||||
cumDue.addWidget(QLabel(_("<h1>Cumulative Due</h1>")))
|
||||
vbox.addWidget(cumDue)
|
||||
widgets.append(cumDue)
|
||||
|
||||
interval = AdjustableFigure(parent.config, 'interval', dg.intervalPeriod, range)
|
||||
interval.addWidget(QLabel(_("<h1>Intervals</h1>")))
|
||||
vbox.addWidget(interval)
|
||||
|
|
|
@ -958,6 +958,7 @@ Error was:\n%(f1)s\n...\n%(f2)s""") % {'f1': fmt1, 'f2': fmt2})
|
|||
"you don't have. Please install:\n") +
|
||||
"http://www.dll-files.com/dllindex/dll-files.shtml?msvcp71")
|
||||
else:
|
||||
#traceback.print_exc()
|
||||
ui.utils.showInfo(_(
|
||||
"Your version of Matplotlib is broken.\n"
|
||||
"Please see http://ichi2.net/anki/wiki/MatplotlibBroken"))
|
||||
|
|
Loading…
Reference in a new issue