Skip to content

undefined being thrown while redrawing with plotly_selecting #2643

Closed
@nicolaskruchten

Description

@nicolaskruchten

Crossfiltering works great with plotly_selecting except that I had to add some catch(function(){}) to suppress errors I was seeing. https://github.com/plotly/plotly.js-crossfilter.js/commit/c48b5beaf1eafbb4c5f68a1923084607c61591c5

Would be great to not have to catch-and-drop undefined.

here's the error I was seeing, sorry for the minification:

Uncaught (in promise) undefined
Promise.then (async)
r.redraw @ plotly-latest.min.js:7
t @ plotly-latest.min.js:7
redraw @ script.js:68
hist_im_select @ script.js:120
n.emit @ plotly-latest.min.js:7
t.emit @ plotly-latest.min.js:7
(anonymous) @ plotly-latest.min.js:7
l @ plotly-latest.min.js:7
r.throttle @ plotly-latest.min.js:7
i.moveFn @ plotly-latest.min.js:7
M @ plotly-latest.min.js:7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions