I want to ask, how we can replace a layout by another layout on the same document by click a button.
Now, i do something like
def change(): curdoc().children.children.children.children = new_plot_new_slider. button.on_click(change)
But it seems too slow, if i have a layout complex (many sliders, many plots).
I don’t know if there is another solution