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

Change all matplotlib generators to updating #11

Open
faymanns opened this issue Mar 5, 2022 · 0 comments
Open

Change all matplotlib generators to updating #11

faymanns opened this issue Mar 5, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@faymanns
Copy link
Contributor

faymanns commented Mar 5, 2022

Generating a new figure for every frame is slow and seems to lead to non deterministic deadlocks.
Updating the data in a single figure and then plotting it with plt.draw() is much faster.
Some generators already use this approach. A good way to implement this might via 'Plotter' classes in utils.py that have a plot method that can be called to generate a frame.

@faymanns faymanns added the enhancement New feature or request label Mar 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant