Browse Source

spectrogram: fix python 2 to 3 issue

master
Sebastian Heimann 4 weeks ago
parent
commit
762d472e3f
  1. 4
      spectrogram.py

4
spectrogram.py

@ -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