✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Multiple axes don't display correctly if yaxis has no trace

In the case where four traces are to be plotted, trace 1 on yaxis, trace 2 on yaxis2, …, the graph looks alike:

var data = [trace1, trace2, trace3, trace4]


Although if the first trace is omitted, the result is corrupted:

var data = [trace2, trace3, trace4]


Always will be in the graph visible only the last trace. The rangeSlider displays them correctly.
Here I prepared the code for testing:

Originally I came across this problem while using the deleteTraces method. This method works well with all but the first index:
Plotly.deleteTraces(plotDiv, [0])
Is that behaviour a bug in Plotly or am I perhaps missing something in the layout settings?
Thanks for help!