Load a MD trajectory with time-dependent box size, use nglview.show_mdanalysis. The unit cell draw is that of the first frame, and never updates:
import MDAnalysis as mda
import nglview
u = mda.Universe('NaCl_4x4x4.pdb', 'md_trajectory.dcd')
view = nglview.show_mdanalysis(u)
view.camera = 'orthographic'
view.add_unitcell()
view
Structure files are here: md.zip
Load a MD trajectory with time-dependent box size, use
nglview.show_mdanalysis. The unit cell draw is that of the first frame, and never updates:Structure files are here: md.zip