summaryrefslogtreecommitdiff
path: root/gr-utils/src/python/gr_plot_fft.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-utils/src/python/gr_plot_fft.py')
-rwxr-xr-xgr-utils/src/python/gr_plot_fft.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-utils/src/python/gr_plot_fft.py b/gr-utils/src/python/gr_plot_fft.py
index 69953f6815..59a3f286b6 100755
--- a/gr-utils/src/python/gr_plot_fft.py
+++ b/gr-utils/src/python/gr_plot_fft.py
@@ -165,7 +165,7 @@ class gr_plot_fft:
def zoom(self, event):
newxlim = self.sp_iq.get_xlim()
- if(newxlim != self.xlim):
+ if(newxlim.all() != self.xlim.all()):
self.xlim = newxlim
xmin = max(0, int(ceil(self.sample_rate*(self.xlim[0] - self.position))))
xmax = min(int(ceil(self.sample_rate*(self.xlim[1] - self.position))), len(self.iq))