spectrogram: fix python 2 to 3 issue

master
Sebastian Heimann 5 months ago
parent 33eba2a6c4
commit 762d472e3f

@ -144,8 +144,8 @@ class Spectrogram(Snuffling):
p = None
ncols = int(len(nslcs) / 5 + 1)
nrows = (len(nslcs)-1) / ncols + 1
ncols = int(len(nslcs) // 5 + 1)
nrows = (len(nslcs)-1) // ncols + 1
tmin = min(times)
tmax = max(times)

Loading…
Cancel
Save