Skip to content

Commit

Permalink
TMP
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed Oct 23, 2023
1 parent 5b92f9a commit f54d781
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion glue_jupyter/bqplot/image/tests/test_visual.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ def test_visual_incompatible_subset(
app = jglue()
data1 = app.add_data(image={"image": im})[0]
data2 = app.add_data(catalog={"x": x, "y": y})[0]
image = app.imshow(data=data1, show=False)
state1 = data1.pixel_component_ids[1] > 32
app.data_collection.new_subset_group('image[x] > 32', state1)
state2 = data2.id['x'] > 1
app.data_collection.new_subset_group('x > 1', state2)
image = app.imshow(data=data1, show=False)
figure = image.figure_widget
figure.layout = {"width": "400px", "height": "250px"}
return figure
4 changes: 2 additions & 2 deletions glue_jupyter/tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def test_wrapper(tmp_path, page_session, *args, **kwargs):
viewer = page_session.locator(".test-viewer")
viewer.wait_for()

# Wait for an additional 2 seconds
page_session.wait_for_timeout(2000)
# Wait for an additional 5 seconds
page_session.wait_for_timeout(5000)

screenshot = viewer.screenshot()

Expand Down

0 comments on commit f54d781

Please sign in to comment.