Skip to content

Dash Tutorial incorrect for Generic Crossfilter Recipe #3267

Open

Description

@lukas48

throws keyerror "customdata"

selectedpoints, [p["pointNumber"] for p in selected_data["points"]]

"pointNumber" replaces "customdata" then it worked for me

Activity

  1. added
    bugsomething broken
    P2considered for next cycle
    on Apr 10, 2025
  2. gvwilson commented on Apr 10, 2025

    @gvwilson
    Contributor

    @LiamConnors @T4rk1n simple fix to tutorial?

  3. T4rk1n commented on Apr 10, 2025

    @T4rk1n
    Contributor

    Would that be from the update to plotly.py 6 ?

  4. LiamConnors commented on Apr 10, 2025

    @LiamConnors
    Contributor

    Yes, I believe it's this issue with plotly.py 6: plotly/plotly.py#5119

    Image

    The example works with 5.24

  5. added
    P1needed for current cycle
    and removed
    P2considered for next cycle
    on Apr 14, 2025
  6. removed their assignment
    on Apr 23, 2025
  7. AnnMarieW commented on Nov 14, 2025

    @AnnMarieW
    Collaborator

    Looks like this might have been fixed in plotly/plotly.js#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)
    
  8. AnnMarieW commented on Nov 25, 2025

    @AnnMarieW
    Collaborator

    related issues #3307 #3196

  9. emilykl commented on Dec 3, 2025

    @emilykl
    Contributor
  10. emilykl commented on Dec 3, 2025

    @emilykl
    Contributor

    The first example on this page is broken as well; we should see customdata in the JSON displayed below the plot, but it is not there: https://dash.plotly.com/interactive-graphing

    (thanks @AnnMarieW!)

  11. ndrezn commented on Dec 10, 2025

    @ndrezn
    Contributor

    This would be great to fix given the downstream issues it would also solve. @emilykl is taking a look at this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1needed for current cyclebugsomething brokendocumentationwritten for humansregressionthis used to work

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions