def METHOD_NAME(self):
    stream = Stream.define('Custom', y=2)()
    dmap = DynamicMap(lambda x, y: Curve([x, 1, y]), kdims=['x', 'y'],
                      streams=[stream]).redim.values(x=[1, 2, 3])
    obj, _ = self.renderer._validate(dmap, None)
    self.renderer.components(obj)
    [(plot, pane)] = obj._plots.values()
    artist = plot.handles['artist']
    (_, y) = artist.get_data()
    self.assertEqual(y[2], 2)
    stream.event(y=3)
    (_, y) = artist.get_data()
    self.assertEqual(y[2], 3)
    (_, y) = artist.get_data()
    self.assertEqual(y[0], 1)
    slider = obj.layout.select(DiscreteSlider)[0]
    slider.value = 3
    (_, y) = artist.get_data()
    self.assertEqual(y[0], 3)