import holoviews as hv from holoviews import opts, streams from holoviews.plotting.links import DataLink hv.extension('bokeh') data = ([0, 0.5, 1], [0, 0.5, 0], ['red', 'green', 'blue']) points = hv.Points(data, vdims='color').redim.range(x=(-.1, 1.1), y=(-.1, 1.1)) point_stream = streams.PointDraw(data=points.columns(), num_objects=10, source=points, empty_value='black') table = hv.Table(points, ['x', 'y'], 'color') DataLink(points, table) (points + table).opts( opts.Layout(merge_tools=False), opts.Points(active_tools=['point_draw'], color='color', height=400, size=10, tools=['hover'], width=400), opts.Table(editable=True)) point_stream.data point_stream.element