Wait on animation frame instead of setTimeout 0 for notebook repaints.
Wait on animation frame instead of setTimeout 0 for notebook repaints.

jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab