From d260d862f5a172b660ea8ea20fc458abd18b6205 Mon Sep 17 00:00:00 2001 From: Thomas Robitaille Date: Wed, 6 Dec 2023 00:11:32 +0000 Subject: [PATCH] Fix linking in test --- glue/viewers/scatter/tests/test_viewer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glue/viewers/scatter/tests/test_viewer.py b/glue/viewers/scatter/tests/test_viewer.py index b16236f8d..7c2deee35 100644 --- a/glue/viewers/scatter/tests/test_viewer.py +++ b/glue/viewers/scatter/tests/test_viewer.py @@ -51,8 +51,8 @@ def test_scatter_density_map(): data2 = app.add_data(a={"x": xx, "y": yy})[0] - app.data_collection.add_link(LinkSame(data1.id['x'], data1.id['x'])) - app.data_collection.add_link(LinkSame(data2.id['x'], data2.id['x'])) + app.data_collection.add_link(LinkSame(data1.id['x'], data2.id['x'])) + app.data_collection.add_link(LinkSame(data1.id['y'], data2.id['y'])) viewer = app.new_data_viewer(SimpleScatterViewer) viewer.add_data(data1)