According to the documentation, using Plotly.restyle is more efficient than Plotly.newplot.
For example, if my plot got three traces and I would like to update two of them (x and y data) using a for loop. Is it more efficient to do :
I use Plotly.restyle to update my x and y data from the main plot.
I understand that range slider is part of the layout but it does not seem to include x and y data properties.
Even if I use Plotly.relayout, I do not know how to set my new layout using new values.