Its unclear how to handle the verticle lines that appear when passing a band discontinuity. In principle the frontend component could handle this.
Plotly.js will automatically not connect traces if they have a 'null' in the middle. I do something similar in the bands-visualiser component, however, this data has an extra dimensionality and perhaps performing this operation on the data will be expensive and is a good way to introduce unwanted sideeffects. (since it passes this data to weas changing the shape of the arrays might be a bad idea...).
Alternatively handling this in processing might be a cleaner solution.

Its unclear how to handle the verticle lines that appear when passing a band discontinuity. In principle the frontend component could handle this.
Plotly.js will automatically not connect traces if they have a 'null' in the middle. I do something similar in the bands-visualiser component, however, this data has an extra dimensionality and perhaps performing this operation on the data will be expensive and is a good way to introduce unwanted sideeffects. (since it passes this data to weas changing the shape of the arrays might be a bad idea...).
Alternatively handling this in processing might be a cleaner solution.