-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
nbagg backend incredibly laggy in IPython notebook #6850
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
Comments
Remove all of the explicit calls to Please try the 2.0.0b3 beta, there are some speed improvements on that branch as well. The killer is probably fully re-drawing the figure on every mouse motion. The toolbar has a |
Does anyone know what makes the nbagg back so much slower than the other aggs with respect to event handling? I'm trying to do a similar draggable (motion_notify_event) interaction, but the latency makes it almost unusable. I've tried using blitting and draw_idle commands to speed things up, but they only help a little (at least, using Matplotlib 2.0.0). |
I suspect the latency is because the communication happening over a web-socket rather than within a process. |
Is there anyone working on improving speeding up the notebook backend? The notebook backend is wonderful, but on Windows it is quite slow. I find that it is slower here than it is on Linux. |
Having someone pick up and finish #4290 may help with this. |
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help! |
Windows 10, Matplotlib 1.5.1, Python 3.5.2
I wrote some code for allowing the user to draw rectangles in a blank matplotlib graph using the nbagg backend in an IPython notebook, and it is incredibly laggy. Is this a current limitation, or is this perhaps a bug with the library? Here is the code I have:
The text was updated successfully, but these errors were encountered: