def add_gutters(self, points, center, width):
        half_width = width / 2
        low_gutter = center - half_width
        off_low = points < low_gutter
        if off_low.any():
            points[off_low] = low_gutter
        high_gutter = center + half_width
        off_high = points > high_gutter
        if off_high.any():
            points[off_high] = high_gutter
        return points
Stop points from extending beyond their territory.
dataset/ETHPy150Open mwaskom/seaborn/seaborn/categorical.py/_SwarmPlotter.add_gutters