def sc_naxis(self, viewer, event, msg=True):
        """Interactively change the slice of the image in a data cube
        by scrolling.
        """
        # TODO: be able to pick axis
        axis = 2
        direction = self.get_direction(event.direction)

        return self._nav_naxis(viewer, axis, direction, msg=msg)
def sc_naxis ( self , viewer , event , msg = True ) : axis = 2 direction = self . get_direction ( event . direction ) return self . _nav_naxis ( viewer , axis , direction , msg = msg )
Interactively change the slice of the image in a data cube
        by scrolling.