-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Missing executeAPICommand in exports.Plots
#5794
Comments
@cid8600 Can you give a full example of how you use this function? We intentionally removed a lot from
I'm not inherently opposed to bringing this one back, just want to understand the use cases better before we do. |
@alexcjohnson, Indeed: Let say I have two contour plots rendered on a page. Each Plot has a slider to stream through 3D data. The plot steps are synced. If I move the slider from Plot1, I expect the slider from Plot2 to follow and display the same frame. React Pseudo code would look like:
|
I see. If you're explicitly calling Plotly.Plots.executeAPICommand(Plot2.current.el, step.method, step.args); to: Plotly[step.method](Plot2.current.el, ...step.args); |
Great call. That works the same. I appreciate you looking into it. |
Bug: I Upgraded Plotly to
v2.2.0
and noticed thePlotly.Plots.executeAPICommand
handler was no longer in the latest version.As a User I'd like to see
executeAPICommand
returned toexports.Plots
. This allows one to control multiple plots via a single Event.File:
dist/plotly.js
Line:
155701
Is:
Fix:
Example: try to execute
Plotly.Plots.executeAPICommand(gd, method, args)
to control a sibling Plot and notice the function is missing from theexports.Plots
Object.The text was updated successfully, but these errors were encountered: