Correct filename of generated image

This commit is contained in:
Richard Berger
2020-09-15 15:20:38 -04:00
parent 6cfad41be4
commit 556dc67fdc

View File

@ -2259,7 +2259,7 @@ class IPyLammps(PyLammps):
self.write_dump(*cmd_args)
from IPython.core.display import Image
return Image('snapshot.png')
return Image(filename)
def video(self, filename):
from IPython.display import HTML