#NEWLINE# @ xlimits . setter #NEWLINE# def xlimits( self , value ) : #NEWLINE# #INDENT# ( lo , hi ) = value #NEWLINE# old = self . xlimits #NEWLINE# if ( lo is None ) : #NEWLINE# #INDENT# lo = old [ 0 ] #NEWLINE# #UNINDENT# if ( hi is None ) : #NEWLINE# #INDENT# hi = old [ 1 ] #NEWLINE# #UNINDENT# self . xmin = min ( lo , hi ) #NEWLINE# self . xmax = max ( lo , hi )