Get help from the marimo community

Updated 4 months ago

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.
Attachment
image.png
M
0
A
12 comments
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 curve
hmm 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
Drive-by, but we do have a range slider:
Attachment
image.png
perfect! Just what I was looking for
oh - re-reading my previous message, i maybe didnt mention that range_slider was already added
Add a reply
Sign up and join the conversation on Discord