def test_area_base_values(test_data):
 x = pd.Series(test_data.array_data[0])
 y = pd.Series(test_data.array_data[1])
 ag = AreaGlyph(x=x, y=y)
 assert (ag.source.data['y_values'][0][0] == 0)
 assert (ag.source.data['y_values'][0][(-1)] == 0)

def test_area_base_values ( test_data ) : x = pd . Series ( test_data . array_data [ 0 ] ) y = pd . Series ( test_data . array_data [ 1 ] ) ag = AreaGlyph ( x = x , y = y ) assert ( ag . source . data [ 'y_values' ] [ 0 ] [ 0 ] == 0 ) assert ( ag . source . data [ 'y_values' ] [ 0 ] [ ( - 1 ) ] == 0 )
test creating chart data source from array-like list data .