I am using nglview 3.1.4 in a conda environment on macOS (Python 3.12) and I am able to display single frames of trajectories, but the slider and play button for trajectory animation do not appear in Jupyter Notebook or JupyterLab.
Using view.add_trajectory(traj) also does not show the controls.
nglview: 3.1.4
ipywidgets: 8.1.1
jupyterlab: 4.4.9
notebook: 7.4.7
Python: 3.12.12
OS: macOS (miniforge)