create a single slider line with two slider points
I would like to have a second slider point so that I can define a range based on a stop and start slider.
Currently the default min range seems like it can only be set at the start slider.
10 Replies
not sure i understand the question, but would a
range_slider
help?yes I think so
Basically with a single slider circle, I can only change the right part of the interval. So it will always bfixed at 0:
}
(0,10) --> move slider and it becomes (0,100)
I would like to be able to do something like
(0-10) --> move slider range and it becomes (10,100)
you can put them in a seperate cell and have one depend on the other
it could reset state, in which you would want to use
mo.state()
which has a learning curvehmm that seems kinda tricky
maybe"you can put them in a seperate cell and have one depend on the other" is likely better
sure that makes more sense
Solution
Drive-by, but we do have a range slider:
marimo | a next-generation Python notebook
Explore data and build apps seamlessly with marimo, a next-generation Python notebook.
perfect! Just what I was looking for
oh - re-reading my previous message, i maybe didnt mention that
range_slider
was already added