Skip to content

Wait until canvas has finished updating? #148

Answered by dsblank
dsblank asked this question in Q&A
Discussion options

You must be logged in to vote

Well, I throttled my draw() method, and now it runs super fast, without overwhelming the kernel. In fact in runs so fast, I had to introduce a wait to slow it down some :) BTW, the throttle code given in the ipywidgets didn't work (I think due to issues running in Jupyter.) But code based on: https://gist.github.com/ChrisTM/5834503 did work. I think this solves all of my issues with ipycanvas!

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
7 replies
@martinRenou
Comment options

@dsblank
Comment options

@martinRenou
Comment options

@dsblank
Comment options

@dsblank
Comment options

Comment options

You must be logged in to vote
2 replies
@martinRenou
Comment options

@dsblank
Comment options

Answer selected by dsblank
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants