#NEWLINE# def onZoomIn( self , event = None ) : #NEWLINE# #INDENT# ( emid , erange , dmin , dmax ) = self . _getlims ( ) #NEWLINE# e1 = max ( dmin , ( emid - ( erange / 3.0 ) ) ) #NEWLINE# e2 = min ( dmax , ( emid + ( erange / 3.0 ) ) ) #NEWLINE# self . _set_xview ( e1 , e2 , keep_zoom = True )