def test_secondary(Chart):
 chart = Chart()
 rng = [83, 0.12, (-34), 59]
 chart.add('First serie', rng)
 chart.add('Secondary serie', map((lambda x: (x * 2)), rng), secondary=True)
 assert chart.render_pyquery()

def test_secondary ( Chart ) : chart = Chart ( ) rng = [ 83 , 0.12 , ( - 34 ) , 59 ] chart . add ( 'First serie' , rng ) chart . add ( 'Secondary serie' , map ( ( lambda x : ( x * 2 ) ) , rng ) , secondary = True ) assert chart . render_pyquery ( )
test secondary chart .