| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
|
Comments from call:
attn @ianhi |
Sorry, something went wrong.
|
I am using an interactive ipympl widget in an application, that would profit a lot from blitting, so i have been waiting for this PR to be merged. Thank you for the promising work done. |
Sorry, something went wrong.
|
Hey, just a quick comment from my side: I am happy if someone takes over in the meantime, otherwise I'll try to continue working on it as soon as i find some time (best guess is sometime early next year). @sjmarwitz you could also monkey-patch the fix in the meantime to check if it does the job for you... I implemented a workaround for EOmaps ( see here) |
Sorry, something went wrong.
|
@raphaelquast Thanks for your quick response and for pointing me to your monkey-path fix. I tried it and immediately hit the problem with ipympl, that was already mentioned in the PR summary. Actually, when using ipympl, after the initial display of a figure, it won't update the canvas/figure, not even zooming or panning is possible. It seems, no 'ack' messages are being received (and sent?). I would have liked to contribute a fix somehow, given the limited amount of time i have, but looking into the ipympl code, i got lost, as i don't "speak" js and the like and are not familiar with web technologies. |
Sorry, something went wrong.
|
|
||
| # Keep track of the number of received ack messages. | ||
| if self._num_received_images is None: | ||
| self._num_received_images = 0 # To support no "ack" messages. |
There was a problem hiding this comment.
Don't know what this comment means.
Sorry, something went wrong.
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
| Back | FazBrowse Home | New Git URL |
PR summary
This PR is intended to address the problem of event-accumulation during image-processing in the webagg backend
which can result in an extreme lag that makes "fast updated" events like motion_notify_event etc. unusable at the moment.
Not 100% sure, but this might also improve problems concerning blitting in jupyter-notebooks (e.g. #19116) but would require sending "ack" messages in ipympl. The implementation is made in a way such that ipympl (or more generally backends that don't send "ack" messages) are not affected.
The following gifs show the outcome of this change: (left: current behavior, right: result of this PR)
🐍 code to run examplePR checklist