def test_logarithmic_bad_interpolation():
 line = Line(logarithmic=True, interpolate='cubic')
 line.add('_', [0.001, 1e-08, 1])
 q = line.render_pyquery()
 assert (len(q('.y.axis .guides')) == 41)

def test_logarithmic_bad_interpolation ( ) : line = Line ( logarithmic = True , interpolate = 'cubic' ) line . add ( '_' , [ 0.001 , 1e-08 , 1 ] ) q = line . render_pyquery ( ) assert ( len ( q ( '.y.axis .guides' ) ) == 41 )
test interpolation option with a logarithmic chart .