Dash Tutorial incorrect for Generic Crossfilter Recipe
throws keyerror "customdata"
selectedpoints, [p["pointNumber"] for p in selected_data["points"]]
"pointNumber" replaces "customdata" then it worked for me
@LiamConnors @T4rk1n simple fix to tutorial?
Would that be from the update to plotly.py 6 ?
Yes, I believe it's this issue with plotly.py 6: https://github.com/plotly/plotly.py/issues/5119
The example works with 5.24
Looks like this might have been fixed in https://github.com/plotly/plotly.js/pull/7608 ?
Update - the PR above did not resolve the issue.
As a workaround the example in the docs can be fixed if customdata is a list:
customdata=list(df.index)