question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Selection1D never gets the points?

See original GitHub issue

ALL software version info

image This is on windows 10 (I tried this on Linux and the selection coordinates were passed through to the other chart) I also built a clean conda environment on windows 10 to test and still the points were not passed over.

Description of expected behavior and the observed behavior

no_points_passed

Complete, minimal, self-contained example code that reproduces the issue

I am using a direct copy of this code/example: http://holoviews.org/reference/streams/bokeh/Selection1D_points.html

Stack traceback and/or browser JavaScript console output

Pulling up Chrome’s developer tools I see this in the console:

localhost:8888/api/kernels/c2143615-0857-4c65-95a0-c95907bea20c
vendors~main.fd97bc9af8abf41fe337.js:161314 Starting WebSocket: ws://localhost:8888/api/kernels/ec078ef0-1711-46d4-ba02-e7c8f3b26df1
vendors~main.fd97bc9af8abf41fe337.js:294217 Error: widget model not found
    at WidgetManager.get_model (vendors~main.fd97bc9af8abf41fe337.js:190704)
    at WidgetRenderer.renderModel (vendors~main.fd97bc9af8abf41fe337.js:294210)
renderModel @ vendors~main.fd97bc9af8abf41fe337.js:294217
(unknown) [bokeh] setting log level to: 'info'
(unknown) [bokeh] document idle at 86 ms
lab:1 Access to font at 'about:blank' from origin 'http://localhost:8888' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
about:blank:1 Failed to load resource: net::ERR_FAILED
(unknown) [bokeh] document idle at 98 ms

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
philippjfrcommented, Apr 1, 2020

Only @pyviz/jupyterlab_pyviz is needed for HoloViews/Panel output. It may be the case that @pyviz/jupyterlab_holoviews interferes with the pyviz one so I would delete it.

0reactions
afonitcommented, Apr 1, 2020

Yes

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I access values selected through a Stream in ...
I'm plotting and selecting points with Holoviews
Read more >
Selection1D Points — HoloViews v1.15.3
Description: A linked streams example demonstrating how to use Selection1D to get currently selected points and dynamically compute statistics of selection.
Read more >
pyviz/pyviz - Gitter
Does Selection1d work with datashader? It works fine when using bokeh to render points and select them using lasso select:
Read more >
Speed for plotting / relabeling points - HoloViz Discourse
I have ~10k points on a map, and I want to be able to select a subset, and change a label on them...
Read more >
Recipe: Mutate No Wiggle 2.5 - Foldit
Also has options to restrict which amino acids are mutated, and to what. ... chunquePoint to CPT) * never released Version 2.4 2021/01/10, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found