You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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:
The problem here is with behavior="inspection" and sharing a data source between multiple renderers. This results in inspection indices being overridden by the last glyph renderer. The behavior for behavior="select" is different and it depends on the selection policy of a data source (typically computes a union of all selections). I'm not sure if there's a rationale for a different behavior, but I would unify this. @bokeh/dev, any thoughts on this?
Good catch I missed the behavior setting in the OP.
I'm not sure if there's a rationale for a different behavior
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: