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

update plots in neb explorer slow #40

Open
ruehle opened this issue Jan 29, 2013 · 1 comment
Open

update plots in neb explorer slow #40

ruehle opened this issue Jan 29, 2013 · 1 comment

Comments

@ruehle
Copy link
Collaborator

ruehle commented Jan 29, 2013

Don't redraw everything but update curves instead could be better?

@js850
Copy link
Owner

js850 commented Jan 29, 2013

matplotlib is very slow in general. drawing the disconnectivity graph is very slow for large graphs. I imagine there are ways to speed it up. For animations (i.e. updating existing lines), using

line, = axes.plot()

then updating with line.set_ydata() should be much much faster than using plot() over and over again.

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

2 participants