Closed blois closed 3 years ago
Example based on https://github.com/nglviewer/nglview/blob/c265da59b8c2d99ea4edf4116cdf3914e8691918/nglview/widget.py#L300:
import ipywidgets as widgets max_frame = 1000 player = widgets.Play(max=max_frame, interval=100) slider = widgets.IntSlider(max=max_frame) iplayer = widgets.HBox([player, slider]) widgets.jslink((player, 'value'), (slider, 'value')) iplayer
This appears to be preventing nglview trajectories from playing. https://github.com/nglviewer/nglview/issues/995
Example based on https://github.com/nglviewer/nglview/blob/c265da59b8c2d99ea4edf4116cdf3914e8691918/nglview/widget.py#L300:
This appears to be preventing nglview trajectories from playing. https://github.com/nglviewer/nglview/issues/995