Can anyone point me to the right solution to make the line not connected in case of discontinuity? Obviously with plotly setting, without cycling the entire dataset searching for discontinuity and manually adding a null value.
No because, as stated into the documentation, I was expecting a gap also on missing value. Not only on null value.
I would know how to trigger this behaviour on plotly in order to have a gap also for x=3 on trace2 of my original example
The best I can offer is that the tool for making gaps is inserting nulls, so that if the spacing of data is what determines the gaps for your case, then you probably do need to modify your input data so that it’s displayed as desired.