#NEWLINE# def onPanHi( self , event = None ) : #NEWLINE# #INDENT# ( emid , erange , dmin , dmax ) = self . _getlims ( ) #NEWLINE# e2 = min ( dmax , ( emid + ( 0.9 * erange ) ) ) #NEWLINE# e1 = max ( erange , ( e2 - erange ) ) #NEWLINE# self . _set_xview ( e1 , e2 )