def METHOD_NAME(self):
    x = [1, 2, 3]
    y = [4, 5, 2]
    s = 3
    p = Plot(x=x, y=y).add(Dots(stroke=s)).plot()
    ax = p._figure.axes[0]
    points, = ax.collections
    self.check_offsets(points, x, y)
    assert_array_equal(points.get_linewidths(), [s] * 3)