Commented out some log lines that just cluttered the log.
This commit is contained in:
parent
2eb3d71a5d
commit
ff2c42902f
|
@ -372,20 +372,20 @@ class ScatterPlot(Plot):
|
||||||
self.canvas.mpl_connect('resize_event', self.onresize)
|
self.canvas.mpl_connect('resize_event', self.onresize)
|
||||||
|
|
||||||
def onzoom(self, widget, mode):
|
def onzoom(self, widget, mode):
|
||||||
logger.log('notice', 'Zoom in widget: %s' %widget)
|
#logger.log('notice', 'Zoom in widget: %s' %widget)
|
||||||
self.clean_redraw()
|
self.clean_redraw()
|
||||||
|
|
||||||
def onpan(self, widget, mode):
|
def onpan(self, widget, mode):
|
||||||
logger.log('notice', 'Pan in widget: %s' %widget)
|
#logger.log('notice', 'Pan in widget: %s' %widget)
|
||||||
self.clean_redraw()
|
self.clean_redraw()
|
||||||
|
|
||||||
def onresize(self, widget):
|
def onresize(self, widget):
|
||||||
logger.log('notice', 'resize event')
|
#logger.log('notice', 'resize event')
|
||||||
self.clean_redraw()
|
self.clean_redraw()
|
||||||
|
|
||||||
def clean_redraw(self):
|
def clean_redraw(self):
|
||||||
if self._use_blit == True:
|
if self._use_blit == True:
|
||||||
logger.log('notice', 'blit -> clean redraw ')
|
#logger.log('notice', 'blit -> clean redraw ')
|
||||||
self.set_current_selection(None)
|
self.set_current_selection(None)
|
||||||
self._background = self.canvas.copy_from_bbox(self.axes.bbox)
|
self._background = self.canvas.copy_from_bbox(self.axes.bbox)
|
||||||
self.set_current_selection(self._current_selection)
|
self.set_current_selection(self._current_selection)
|
||||||
|
|
Reference in New Issue