From ae6485fa16b52ba5b95379ffc7c47424dc83b7bb Mon Sep 17 00:00:00 2001 From: Hugues-Yanis Amanieu Date: Mon, 17 May 2021 11:16:49 +0200 Subject: [PATCH] Move y to vdims in hv.Scatter (#4914) Fixes #4912 --- examples/reference/streams/bokeh/Selection1D_tap.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/reference/streams/bokeh/Selection1D_tap.ipynb b/examples/reference/streams/bokeh/Selection1D_tap.ipynb index 6eea8f0ea3..9632d1759e 100644 --- a/examples/reference/streams/bokeh/Selection1D_tap.ipynb +++ b/examples/reference/streams/bokeh/Selection1D_tap.ipynb @@ -46,7 +46,7 @@ "data = [('Week %d' % (i%10), np.random.rand(), chr(65+np.random.randint(5)), i) for i in range(100)]\n", "sample_data = hv.NdOverlay({i: hv.Points(gen_samples(np.random.randint(1000, 5000), r2))\n", " for _, r2, _, i in data})\n", - "points = hv.Scatter(data, ['Date', 'r2'], ['block', 'id']).redim.range(r2=(0., 1))\n", + "points = hv.Scatter(data, 'Date', ['r2', 'block', 'id']).redim.range(r2=(0., 1))\n", "stream = Selection1D(source=points)\n", "empty = (hv.Points(np.random.rand(0, 2)) * hv.Slope(0, 0)).relabel('No selection')\n", "\n",