Check the new plotly version.
It allows setting the z index of the trace, if I understand everything correctly, that might help your issue, since you should not need to mix scatter and scattergl, to get a background scatter.
Check the new plotly version.
It allows setting the z index of the trace, if I understand everything correctly, that might help your issue, since you should not need to mix scatter and scattergl, to get a background scatter.