Skip to content

Commit

Permalink
Move y to vdims in hv.Scatter
Browse files Browse the repository at this point in the history
Fixes #4912
  • Loading branch information
hyamanieu committed Apr 30, 2021
1 parent 3ad8387 commit 502c4ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/reference/streams/bokeh/Selection1D_tap.ipynb
Expand Up @@ -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",
Expand Down

0 comments on commit 502c4ba

Please sign in to comment.