mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05: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:
parent
ae0212b399
commit
8ed03b1cf0
1 changed files with 1 additions and 2 deletions
|
@ -49,7 +49,7 @@ def get_sliders(update):
|
||||||
# Percentage slider. Indicates either % of total time or total tasks
|
# Percentage slider. Indicates either % of total time or total tasks
|
||||||
# depending on what breakdown_opt is set to.
|
# depending on what breakdown_opt is set to.
|
||||||
range_slider = widgets.IntRangeSlider(
|
range_slider = widgets.IntRangeSlider(
|
||||||
value=[70, 100],
|
value=[0, 100],
|
||||||
min=0,
|
min=0,
|
||||||
max=100,
|
max=100,
|
||||||
step=1,
|
step=1,
|
||||||
|
@ -57,7 +57,6 @@ def get_sliders(update):
|
||||||
continuous_update=False,
|
continuous_update=False,
|
||||||
orientation="horizontal",
|
orientation="horizontal",
|
||||||
readout=True,
|
readout=True,
|
||||||
readout_format=".0i%",
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Indicates the number of tasks that the user wants to be returned. Is
|
# Indicates the number of tasks that the user wants to be returned. Is
|
||||||
|
|
Loading…
Add table
Reference in a new issue