From 54cb541c009e7362cae4fdf9620cefb774e13b55 Mon Sep 17 00:00:00 2001 From: mleech Date: Thu, 15 Mar 2007 17:37:15 +0000 Subject: Fixed syntax error that was previously not caught by Python. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4760 221aa14e-8319-0410-a670-987f0aec2ac5 --- gr-radio-astronomy/src/python/ra_fftsink.py | 2 +- gr-radio-astronomy/src/python/ra_stripchartsink.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'gr-radio-astronomy/src/python') 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) -- cgit