Browse Source

Solve #309 with flake8 constrain

pull/343/head
qins 8 years ago
parent
commit
54350fd9fa
  1. 4
      pygal/test/test_line_log_none_max_solved.py

4
pygal/test/test_line_log_none_max_solved.py

@ -5,11 +5,9 @@
from __future__ import division from __future__ import division
from pygal import Line from pygal import Line
from pygal.test.utils import texts
from math import cos, sin
chart = Line(title='test', logarithmic=True) chart = Line(title='test', logarithmic=True)
chart.add('test 1', [None, -38, 48, 4422, 35586, 1003452, 225533]) chart.add('test 1', [None, -38, 48, 4422, 35586, 1003452, 225533])
chart.add('test 2', [1, 40, 20, 38, 2937, 20399, 3947]) chart.add('test 2', [1, 40, 20, 38, 2937, 20399, 3947])
q = chart.render_pyquery() q = chart.render_pyquery()
assert len(q(".dots")) == 20 assert len(q(".dots")) == 12

Loading…
Cancel
Save