Browse Source

Modify the file to pass flake8

pull/343/head
ShuaiQin 8 years ago committed by GitHub
parent
commit
2eff8312c9
  1. 2
      pygal/graph/line.py

2
pygal/graph/line.py

@ -170,7 +170,7 @@ class Line(Graph):
if self.logarithmic: if self.logarithmic:
for seq in sequences: for seq in sequences:
for ele in seq[::-1]: for ele in seq[::-1]:
y = points[seq.index(ele)][1] y = points[seq.index(ele)][1]
if y is None or y <= 0: if y is None or y <= 0:
del seq[seq.index(ele)] del seq[seq.index(ele)]
for seq in sequences: for seq in sequences:

Loading…
Cancel
Save