From 556dc67fdcbf3e4340e21c6597e7ce6a2c453fc0 Mon Sep 17 00:00:00 2001 From: Richard Berger Date: Tue, 15 Sep 2020 15:20:38 -0400 Subject: [PATCH] Correct filename of generated image --- python/lammps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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