-
Notifications
You must be signed in to change notification settings - Fork 0
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
Performance Improvements #19
Comments
lineprofiling playback: playback_events
The animate function (which is 90% of execution time):
|
some big improvments in #20 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thoughts on how to improve performance
The biggest performance issue that currently every tracked figure gets a full redraw every frame: https://github.com/ianhi/mpl-playback/blob/06a7faf567e487b49d32468767fd90fb5f659ec9/mpl_playback/playback.py#L245-L248
This happens even if the event has already triggered a draw if for example a slider was moved.
Potential solutions:
stale=True
The text was updated successfully, but these errors were encountered: