From 8ed03b1cf06ce469c36ce6c96e42716fc2d1ee09 Mon Sep 17 00:00:00 2001 From: Robert Nishihara Date: Sun, 3 Sep 2017 23:15:46 -0700 Subject: [PATCH] Make task timeline work with ipywidgets==7.0.0, change slider default values. (#925) * Make task timeline work with ipywidgets==7.0.0. * Change initial UI slider values from 70-100 to 0-100. --- python/ray/experimental/ui.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/ray/experimental/ui.py b/python/ray/experimental/ui.py index 715c48bbe..0945d4392 100644 --- a/python/ray/experimental/ui.py +++ b/python/ray/experimental/ui.py @@ -49,7 +49,7 @@ def get_sliders(update): # Percentage slider. Indicates either % of total time or total tasks # depending on what breakdown_opt is set to. range_slider = widgets.IntRangeSlider( - value=[70, 100], + value=[0, 100], min=0, max=100, step=1, @@ -57,7 +57,6 @@ def get_sliders(update): continuous_update=False, orientation="horizontal", readout=True, - readout_format=".0i%", ) # Indicates the number of tasks that the user wants to be returned. Is