#NEWLINE# def _update_extents( self ) : #NEWLINE# #INDENT# inp = self . plane . input #NEWLINE# extents = list ( _get_extent ( inp ) ) #NEWLINE# pos = self . position #NEWLINE# axis = self . _get_axis_index ( ) #NEWLINE# extents [ ( 2 * axis ) ] = pos #NEWLINE# extents [ ( ( 2 * axis ) + 1 ) ] = pos #NEWLINE# try : #NEWLINE# #INDENT# self . plane . set_extent ( extents ) #NEWLINE# #UNINDENT# except AttributeError : #NEWLINE# #INDENT# self . plane . extent = extents