mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Update stats.py
disable spurious pylint warning
This commit is contained in:
parent
08e51f220f
commit
99693fb277
1 changed files with 2 additions and 0 deletions
|
@ -291,6 +291,7 @@ group by day order by day""" % (self._limit(), lim),
|
|||
xaxis=dict(tickDecimals=0, max=0.5),
|
||||
yaxes=[dict(min=0), dict(position="right", min=0)])
|
||||
if days is not None:
|
||||
# pylint: disable=invalid-unary-operand-type
|
||||
conf['xaxis']['min'] = -days+0.5
|
||||
def plot(id, data, ylabel, ylabel2):
|
||||
return self._graph(
|
||||
|
@ -322,6 +323,7 @@ group by day order by day""" % (self._limit(), lim),
|
|||
xaxis=dict(tickDecimals=0, max=0.5),
|
||||
yaxes=[dict(min=0), dict(position="right", min=0)])
|
||||
if days is not None:
|
||||
# pylint: disable=invalid-unary-operand-type
|
||||
conf['xaxis']['min'] = -days+0.5
|
||||
def plot(id, data, ylabel, ylabel2):
|
||||
return self._graph(
|
||||
|
|
Loading…
Reference in a new issue