Beispiel #1
0
   def zio5(self,event=None):
      """Zoom in or out 5 levels"""

      junk = event.keysym
      if junk == 'Up':
         ds9.zoomAll(self.window,5)
      elif junk == 'Down':
         ds9.zoomAll(self.window,-5)
Beispiel #2
0
   def zio1(self,event=None):
      """Zoom in or out 1 level"""

      junk = event.keysym
      if junk == 'Up':
         ds9.zoomAll(self.window,1)
      elif junk == 'Down':
         ds9.zoomAll(self.window,-1)