-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] TapTool inspection doesn't find indices when used on CDSView #13388
Comments
The problem here is with |
Good catch I missed the
AFAIK it is just the original behavior implemented before CDSViews and selection policies, and it was not updated whenever the those new features were added. |
Software versions
Python version : 3.10.5 (tags/v3.10.5:f377153, Jun 6 2022, 16:14:13) [MSC v.1929 64 bit (AMD64)]
IPython version : (not installed)
Tornado version : 6.2
Bokeh version : 3.2.2
BokehJS static path : C:\Users\kadek\Desktop\kod\bokeh_playground\venv\lib\site-packages\bokeh\server\static
node.js version : (not installed)
npm version : (not installed)
Operating system : Windows-10-10.0.19045-SP0
Browser name and version
No response
Jupyter notebook / Jupyter Lab version
No response
Expected behavior
When using TapTool on a glyph that uses CDSView with GroupFilter, the callback object's inspected.indices should be populated with index of the tapped point.
Observed behavior
The inspected.indices are populated only when taping points falling into the last filter category.
Example code
I run this with
bokeh serve .\modifiers.py --show
When in browser, tap on the top right point and you will see
[1]
in browser console.Tap on the bottom left point and you will see
[]
in browser console.Stack traceback or browser console output
No response
Screenshots
The text was updated successfully, but these errors were encountered: