diff --git a/python/lammps.py b/python/lammps.py index e912d0d986..81336d8cc1 100644 --- a/python/lammps.py +++ b/python/lammps.py @@ -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