How to select the frame number when using Jupyter notebook to display the 3D scene?

A 3D scene can be visualized by the function create_jupyter_widget() in the Jupyter notebook. But the displayed frame is always the first one in the pipeline. Is there a way to assign which frame number should be displayed?

I haven’t tested this and I can’t guarantee it will work for the Jupyter viewport widget, but check out this code example. The on_time_slider() function sets the current animation time to be displayed in the interactive viewport.