We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Application or Package Used @nteract/transform-plotly
Describe the bug Plotly animations don't seem to work. (see this issue: microsoft/vscode-jupyter#4364)
To Reproduce Steps to reproduce the behavior:
Expected behavior Animation should work
Screenshots Pertinent console output.
Desktop (please complete the following information):
Additional context After some investigation, the problem is here: https://github.com/nteract/outputs/blob/9f538719d77e221f756d3ea77fd8a6c768115e30/packages/transform-plotly/src/index.tsx#L64
This calls into this function in plotly: https://github.com/plotly/plotly.js/blob/68a4917e8967bb021929e819453ee84650f7bf6f/src/plot_api/plot_api.js#L64
Which expects the 'data' parameter to be an object. If it isn't, the frames for the animation are not found.
I believe the fix would be to pass in the figure itself, and not the elements of the figure.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Application or Package Used
@nteract/transform-plotly
Describe the bug
Plotly animations don't seem to work. (see this issue: microsoft/vscode-jupyter#4364)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Animation should work
Screenshots
Pertinent console output.
Desktop (please complete the following information):
Additional context
After some investigation, the problem is here:
https://github.com/nteract/outputs/blob/9f538719d77e221f756d3ea77fd8a6c768115e30/packages/transform-plotly/src/index.tsx#L64
This calls into this function in plotly:
https://github.com/plotly/plotly.js/blob/68a4917e8967bb021929e819453ee84650f7bf6f/src/plot_api/plot_api.js#L64
Which expects the 'data' parameter to be an object. If it isn't, the frames for the animation are not found.
I believe the fix would be to pass in the figure itself, and not the elements of the figure.
The text was updated successfully, but these errors were encountered: