Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Autoscale automatic :D

Hi Plotly Team !

i have a chart where i can add many different traces. I have checkboxes you can check and addTraces ist called.
My Problem : When i zoom into my chart and call addTraces the new trace is not scaled right.
How can i manage that?

Sounds like a bug.

Would you mind sharing a reproducible example?

what ive should mention, i have also created a new axis for the new trace.
I call addTraces() and relayout(). If i dont add new axis all axis zoom right, even if i call addTraces().

That means i have to pass the new axis a new range?

I add a new axis after 5 second. Zoom into the chart and wait till the new axis plot.

I have a solution :

could you tell me pls if my solution is correct?