In [5]:
# load pytraj
import pytraj as pt

# load some trajectory
traj = pt.load_pdb_rcsb('1L2Y')
traj


Out[5]:
<pytraj.Trajectory, 38 frames, include:
<Topology: 304 atoms, 20 residues, 1 mols, PBC with box type = ortho>>
           

In [6]:
# load TrajectoryView
from mdview import TrajectoryView, enable_notebook
enable_notebook()



In [9]:
TrajectoryView(traj, backend='pytraj', primaryStructure='lines')