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

Smooth animation via caching? #9

Open
rsignell-usgs opened this issue Jun 17, 2019 · 3 comments
Open

Smooth animation via caching? #9

rsignell-usgs opened this issue Jun 17, 2019 · 3 comments

Comments

@rsignell-usgs
Copy link
Collaborator

The animation capability is great. It would also be even greater if we could cache the frames for smoother animation after the 1st time through. I realize this might not be a xrviz issue per se, but could you please look into it @hdsingh ?

I know that with Matplotlib animation, you can set cache_frame_data=True, but not sure to accomplish this with panel.

@martindurant
Copy link
Member

This is a feature that we will need pyviz's cooperation with. @philippjfr , @jbednar , where was this mentioned?

@jbednar
Copy link

jbednar commented Jun 17, 2019

A HoloViews (or hvPlot) DynamicMap has a parameter cache_size defaulting to 500 items, which can be increased to animate larger numbers of frames efficiently (at the cost of taking more memory). Does that help address the question?

@hdsingh
Copy link
Member

hdsingh commented Jun 19, 2019

I am finding a solution, to correctly use cache_size with the quadmesh by discussing in pyviz.

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

No branches or pull requests

4 participants