Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

Commented out some log lines that just cluttered the log.

This commit is contained in:
Einar Ryeng 2007-06-21 10:25:17 +00:00
parent 2eb3d71a5d
commit ff2c42902f
1 changed files with 4 additions and 4 deletions

View File

@ -372,20 +372,20 @@ class ScatterPlot(Plot):
self.canvas.mpl_connect('resize_event', self.onresize)
def onzoom(self, widget, mode):
logger.log('notice', 'Zoom in widget: %s' %widget)
#logger.log('notice', 'Zoom in widget: %s' %widget)
self.clean_redraw()
def onpan(self, widget, mode):
logger.log('notice', 'Pan in widget: %s' %widget)
#logger.log('notice', 'Pan in widget: %s' %widget)
self.clean_redraw()
def onresize(self, widget):
logger.log('notice', 'resize event')
#logger.log('notice', 'resize event')
self.clean_redraw()
def clean_redraw(self):
if self._use_blit == True:
logger.log('notice', 'blit -> clean redraw ')
#logger.log('notice', 'blit -> clean redraw ')
self.set_current_selection(None)
self._background = self.canvas.copy_from_bbox(self.axes.bbox)
self.set_current_selection(self._current_selection)