On a blank page with only a minimal input, I am trying to be able to create a graph after some input is given by the user, and after the graph is generated, also generate a range slider for it. Essentially, both the graph and slider show up after the input, and the slider only zooms-in/zooms-out on the graph that is already there.
What would be the best way to do this? I was reading through chriddyp’s code here,, but it looks like overkill and possibly not what I am looking for.
I haven’t thought about this post for a while, and that’s probably because I figured out the solution after banging my head enough working with plotly more. In the callback that creates the data/handles the input, couldn’t you just create two outputs, one for the graph, and the other for the slider? Tell me if you think that would work out for you.