Fixing time domain plot zoomer.
authorTom <trondeau@vt.edu>
Mon, 24 Aug 2009 00:52:33 +0000 (20:52 -0400)
committerTom <trondeau@vt.edu>
Mon, 24 Aug 2009 00:52:33 +0000 (20:52 -0400)
gr-utils/src/python/gr_filter_design.py

index 28afacf0823a73bfacca8b5f5d73ffe83a02343b..cce04c881dfb1d09fa8a82cf615aa039a8d88ca5 100755 (executable)
@@ -290,8 +290,7 @@ class gr_plot_filter(QtGui.QMainWindow):
                                            ymin, ymax)
             
             # Set the zoomer base to unzoom to the new axis
-            rect = Qt.QRectF(0, ymin, (ntaps-0), (ymax-ymin))
-            self.timeZoomer.setZoomBase(rect)
+            self.timeZoomer.setZoomBase()
             
             self.gui.timePlot.replot()