@attr('slow')
@with_setup(init)
def test_get_figure_from_references():
    url, g = test_plot_from_grid()
    fig = py.get_figure(url)
    data = fig['data']
    trace = data[0]
    assert(g[0].data == trace['x'])
    assert(g[1].data == trace['y'])

# Test grid args
dataset/ETHPy150Open plotly/plotly.py/plotly/tests/test_core/test_grid/test_grid.py/test_get_figure_from_references/original