0xEvan
0xEvan4mo 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.
No description
Solution:
Drive-by, but we do have a range slider:
No description
Jump to solution
10 Replies
Myles Scolnick
Myles Scolnick4mo ago
not sure i understand the question, but would a range_slider help?
0xEvan
0xEvanOP4mo ago
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)
Myles Scolnick
Myles Scolnick4mo ago
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
0xEvan
0xEvanOP4mo ago
hmm that seems kinda tricky
Myles Scolnick
Myles Scolnick4mo ago
maybe"you can put them in a seperate cell and have one depend on the other" is likely better
0xEvan
0xEvanOP4mo ago
sure that makes more sense
Solution
Akshay
Akshay4mo ago
Drive-by, but we do have a range slider:
No description
Akshay
Akshay4mo ago
marimo | a next-generation Python notebook
Explore data and build apps seamlessly with marimo, a next-generation Python notebook.
0xEvan
0xEvanOP4mo ago
perfect! Just what I was looking for
Myles Scolnick
Myles Scolnick4mo ago
oh - re-reading my previous message, i maybe didnt mention that range_slider was already added