mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 08:31:42 +08:00
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.
This commit is contained in:
committed by
Philipp Moritz
parent
ae0212b399
commit
8ed03b1cf0
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user