Skip to content

Commit

Permalink
Modify the file to pass flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
ShuaiQin authored Sep 26, 2016
1 parent 26f983b commit 2eff831
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pygal/graph/line.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ def line(self, serie, rescale=False):
if self.logarithmic:
for seq in sequences:
for ele in seq[::-1]:
y = points[seq.index(ele)][1]
y = points[seq.index(ele)][1]
if y is None or y <= 0:
del seq[seq.index(ele)]
del seq[seq.index(ele)]
for seq in sequences:
self.svg.line(
serie_node['plot'], seq, close=self._self_close,
Expand Down

0 comments on commit 2eff831

Please sign in to comment.