code: def extend_shapes(df_shapes, axis, distance):
      '''
      Extend shape/polygon outline away from polygon center point by absolute
      distance.
      '''
      df_shapes_i = df_shapes.copy()
      offsets = df_shapes_i[axis + '_center_offset'].copy()
      offsets[offsets < 0] -= distance
      offsets[offsets >= 0] += distance
      df_shapes_i[axis] = df_shapes_i[axis + '_center'] + offsets
      return df_shapes_f extend_shapes(df_shapes, axis, distance):
      '''
      Extend shape/polygon outline away from polygon center point by absolute
      distance.
      '''
      df_shapes_i = df_shapes.copy()
      offsets = df_shapes_i[axis + '_center_offset'].copy()
      offsets[offsets < 0] -= distance
      offsets[offsets >= 0] += distance
      df_shapes_i[axis] = df_shapes_i[axis + '_center'] + offsets
      return df_shapes_i
docs: Extend shape/polygon outline away from polygon center point by absolute
      distance.