Skip to content
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

An attempt at a more general animation API #938

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cpsievert
Copy link
Collaborator

@cpsievert cpsievert commented Apr 10, 2017

Note to self: this is really the only relevant part -- https://github.com/ropensci/plotly/pull/938/files#diff-bfe74656b9837557ae3edcc5e1daa831R22

May want to cherry-pick that code as merging might be a disaster

@cpsievert
Copy link
Collaborator Author

cpsievert commented Apr 21, 2017

Also, the point of the API is to be able to transition between different trace types -- https://github.com/ropensci/plotly/blob/7f15fd68e61ab76cee2f6ce6e577aa927538cb7d/R/animate.R#L11-L16

the current API (i.e., frame) assumes the animation has a fixed trace type

@rreusser
Copy link

What does it do visually as it transitions types? That is, what does it even mean to transition a bar graph into a scatter trace? A long-running goal is to smooth out those things so they at least do something nice/reasonable.

@cpsievert
Copy link
Collaborator Author

cpsievert commented May 15, 2017

What does it do visually as it transitions types?

I'm hoping plotly.js can work out those details ;)

More seriously, this is just an attempt to make it easier to "animate" through a collection of plots (i.e., it's ok if a redraw is required)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants