#NEWLINE# def onMoveToPixel( self , event = None ) : #NEWLINE# #INDENT# if ( ( self . this_point is not None ) and ( self . move_callback is not None ) ) : #NEWLINE# #INDENT# p1 = float ( self . panel . xdata [ self . this_point [ 0 ] ] ) #NEWLINE# p2 = float ( self . panel . ydata [ self . this_point [ 1 ] ] ) #NEWLINE# self . move_callback ( self , p2 )