diff options
Diffstat (limited to 'gr-wxgui/python')
-rw-r--r-- | gr-wxgui/python/wxgui/plotter/grid_plotter_base.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gr-wxgui/python/wxgui/plotter/grid_plotter_base.py b/gr-wxgui/python/wxgui/plotter/grid_plotter_base.py index a492539575..e1ac311deb 100644 --- a/gr-wxgui/python/wxgui/plotter/grid_plotter_base.py +++ b/gr-wxgui/python/wxgui/plotter/grid_plotter_base.py @@ -89,7 +89,10 @@ class grid_plotter_base(plotter_base): self.unlock() def call_freq_callback(self, coor): - x, y = self._point_label_coordinate + try: + x, y = self._point_label_coordinate + except: + return if x < self.padding_left or x > self.width-self.padding_right: return if y < self.padding_top or y > self.height-self.padding_bottom: return #scale to window bounds |