Skip to content

Commit

Permalink
Move y to vdims in hv.Scatter (#4914)
Browse files Browse the repository at this point in the history
Fixes #4912
  • Loading branch information
hyamanieu committed May 17, 2021
1 parent 5e41356 commit ae6485f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/reference/streams/bokeh/Selection1D_tap.ipynb
Original file line number Diff line number Diff line change
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 ae6485f

Please sign in to comment.