code: def _update_offsets(start_x, spacing, terminations, offsets, length):
      '''Update the offsets
      '''
      return (start_x + spacing[0] * terminations / 2.,
              offsets[1] + spacing[1] * 2. + lengthf _update_offsets(start_x, spacing, terminations, offsets, length):
      '''Update the offsets
      '''
      return (start_x + spacing[0] * terminations / 2.,
              offsets[1] + spacing[1] * 2. + length)
docs: Update the offsets