diff options
-rwxr-xr-x | gr-radio-astronomy/src/python/ra_fftsink.py | 2 | ||||
-rwxr-xr-x | gr-radio-astronomy/src/python/ra_stripchartsink.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gr-radio-astronomy/src/python/ra_fftsink.py b/gr-radio-astronomy/src/python/ra_fftsink.py index ccfcc46bc..f00a08640 100755 --- a/gr-radio-astronomy/src/python/ra_fftsink.py +++ b/gr-radio-astronomy/src/python/ra_fftsink.py @@ -292,7 +292,7 @@ class fft_window (plot.PlotCanvas): self.Draw (graphics, xAxis=None, yAxis=self.y_range) d = calc_max - calc_min - d *= 0.1 + d = d * 0.1 if self.ra_fftsink.autoscale == True: self.y_range = self._axisInterval ('min', calc_min-d, calc_max+d) else: diff --git a/gr-radio-astronomy/src/python/ra_stripchartsink.py b/gr-radio-astronomy/src/python/ra_stripchartsink.py index 72dded531..26c31cb58 100755 --- a/gr-radio-astronomy/src/python/ra_stripchartsink.py +++ b/gr-radio-astronomy/src/python/ra_stripchartsink.py @@ -178,7 +178,7 @@ class stripchart_window(plot.PlotCanvas): calc_min = min(indata) calc_max = max(indata) d = calc_max - calc_min - d *= 0.1 + d = d * 0.1 if self.stripchartsink.autoscale == True and self.stripchartsink.parallel == True: self.y_range = self._axisInterval ('min', calc_min-d, calc_max+d) |