Sliders in zero-true
Creating a Slider
Creating a slider in zero-true is simple. Type:
Run the cell in your notebook, and watch the slider appear below.
Slider Settings and Values
Sliders have a minimum, maximum, and step in zero-true. The default values are 0 and 100 but you can set them to whatever you’d like. The slider value will return an integer or a float depending on what it is set to.
Slider Use Cases
Sliders can be used to capture any numeric input. Here is a more fleshed out example including filtering a dataframe:
Customizing your slider
You can also add different colors and labels to your slider to make it to your liking. Feel free to check out the full range of options with the api reference for a slider.