def test_parametric_styles():
 chart = None
 for style in STYLES:
  line = Line(style=style('#f4e83a'))
  line.add('_', [1, 2, 3])
  line.x_labels = 'abc'
  new_chart = line.render()
  assert (chart != new_chart)
  chart = new_chart

def test_parametric_styles ( ) : chart = None for style in STYLES : line = Line ( style = style ( '#f4e83a' ) ) line . add ( '_' , [ 1 , 2 , 3 ] ) line . x_labels = 'abc' new_chart = line . render ( ) assert ( chart != new_chart ) chart = new_chart
test that no parametric produce the same result .