Skip to content

Commit

Permalink
[webui] Print out timeline link for full-screen trace viewing (ray-pr…
Browse files Browse the repository at this point in the history
…oject#936)

* up

* update
  • Loading branch information
ericl authored and pcmoritz committed Sep 6, 2017
1 parent e19e2c6 commit 9538783
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/ray/experimental/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,8 +448,10 @@ def handle_submit(sender):

# Display the task trace within the Jupyter notebook
clear_output(wait=True)
print(
"To view fullscreen, open chrome://tracing in Google Chrome "
"and load `{}`".format(json_tmp))
display(IFrame(html_file_path, 900, 800))
print("Displaying {}".format(html_file_path))

path_input.on_click(handle_submit)

Expand Down

0 comments on commit 9538783

Please sign in to comment.