I came across this special scenario where the user chooses a record section plotting time window where all seismograms have 0 amplitudes, and any kind of normalization leads to a ZeroDivisionError. Another potential scenario for this error is when only one or a few of the seismograms in the record section have all 0 values in the window, and are normalized with their own amplitudes. I think the expected behavior in both cases is to plot the seismograms as they are.
I came across this special scenario where the user chooses a record section plotting time window where all seismograms have 0 amplitudes, and any kind of normalization leads to a
ZeroDivisionError
. Another potential scenario for this error is when only one or a few of the seismograms in the record section have all 0 values in the window, and are normalized with their own amplitudes. I think the expected behavior in both cases is to plot the seismograms as they are.