def test_cubic_prec(Chart, datas):
 chart = Chart(interpolate='cubic', interpolation_precision=200)
 chart = make_data(chart, datas)
 chart_low = Chart(interpolate='cubic', interpolation_precision=5)
 chart_low = make_data(chart, datas)
 assert (len(chart.render()) >= len(chart_low.render()))

def test_cubic_prec ( Chart , datas ) : chart = Chart ( interpolate = 'cubic' , interpolation_precision = 200 ) chart = make_data ( chart , datas ) chart_low = Chart ( interpolate = 'cubic' , interpolation_precision = 5 ) chart_low = make_data ( chart , datas ) assert ( len ( chart . render ( ) ) >= len ( chart_low . render ( ) ) )
test cubic interpolation precision .